Problem: train a leaves the station traveling at 30 miles per hour . two hours later train в leaves the same station traveling in the same direction at 35 miles per hour . how many miles from the station was train a overtaken by train b ?
Rationale: "after two hours , train a is ahead by 60 miles . train b can catch up at a rate of 5 miles per hour . the time to catch up is 60 / 5 = 12 hours . in 12 hours , train a travels another 30 * 12 = 360 miles for a total of 420 miles . the answer is a ."
annotated_formula: multiply(divide(multiply(30, const_2), subtract(35, 30)), 35)