← run

gsm8k-0016

1.000
1/1 tests· math
Challenge · difficulty 2/5
# GSM8K Problem 17

Two trains leave San Rafael at the same time. They begin traveling westward, both traveling for 80 miles. The next day, they travel northwards, covering 150 miles. What's the distance covered by each train in the two days?

Reason step by step, then give ONLY the final answer on the last line as \boxed{ANSWER}.

<!-- imported from openai/gsm8k (test) -->
Proposed solution
Let's break down the problem step by step:

1. **First Day Travel**: Both trains travel westward for 80 miles.
2. **Second Day Travel**: Both trains travel northwards for 150 miles.

To find the total distance covered by each train over the two days, we add the distances traveled each day.

- Distance on the first day: 80 miles
- Distance on the second day: 150 miles

Total distance = Distance on the first day + Distance on the second day
Total distance = 80 miles + 150 miles
Total distance = 230 miles

Therefore, the distance covered by each train in the two days is \(\boxed{230}\) miles.