The cost of purchasing two commodities is $827. If the purchase price of the first one exceeds the other by $127, what is the purchase price of the first commodity? Give the rationale and then the answer.
Let's think step by step. Let X be the price of the first commodity, so the price of the second commodity is X - $127. The cost of purchasing two of them is X + (X - $127) = $827. Combining like terms, we get X * 2 - $127 = $827. Subtracting $137 from both sides, we get X * 2 = $954. Dividing both sides by 2, we get X = $477.. The answer is: 477.

On a three-day trip, Wendy drove 125 miles on the first day, and 223 miles on the second day. How many miles did she drive on the third day, if the total miles that Wendy drove for the trip is 493 miles? Give the rationale and then the answer.
Let's think step by step. Wendy drove 125 miles + 223 miles = 348 miles on the first two days. So on the third day, she drove 493 miles - 348 miles = 145 miles.. The answer is: 145.

John eats a bag of chips for dinner and then eats twice as many after dinner. How many bags of chips did he eat? Give the rationale and then the answer.
Let's think step by step. He ate 2 * 1 = 2 bags after dinner. So he ate 2 + 1 = 3 bags of chips.. The answer is: 3.