Problem: in traveling from a dormitory to a certain city , a student went 1 / 3 of the way by foot , 1 / 4 of the way by bus , and the remaining 5 kilometers by car . what is the distance , in kilometers , from the dormitory to the city ?
Rationale: "whole trip = distance by foot + distance by bus + distance by car x = 1 / 2 x + 3 / 5 x + 5 x - 1 / 2 x - 3 / 5 x = 5 x = 12 km option : e"
annotated_formula: multiply(5, inverse(subtract(1, add(divide(1, 3), divide(1, 4)))))