In traveling from a dormitory to a certain city, a student went 1/2 of the way by foot, 1/4 of the way by bus, and the remaining 6 kilometers by car. What is the distance, in kilometers, from the dormitory to the city?	Choose the correct choice: A) 35 B) 24 C) 14 D) 24 E) 12
Whole trip = distance by foot + distance by bus + distance by car   x = 1/2x + 1/4x + 6   x - 1/2x - 1/4x = 6   x = 24km   Option: 24
<result>D</result>
In traveling from a dormitory to a certain city, a student went 1/2 of the way by foot, 1/4 of the way by bus, and the remaining 6 kilometers by car. What is the distance, in kilometers, from the dormitory to the city?