If Nicole and Cory stopped for one minute, they would have realized that the finale instruction on the triangle was "multiply by 12" All they had to do was keep trying multiples of 12. They would have hit the answer in 9 tries. Even if it were a larger number, they knew it had to be 3 digits, the very worst scenario would have given the answer in about 80 attempts with each attempt taking just a few seconds, they could have been out of there in 5 minutes, The problem wasn't that they couldn't do math, it was that they couldn't see any alternatives except to keep trying what they were doing.