Problem: joe needs to paint all the airplane hangars at the airport , so he buys 360 gallons of paint to do the job . during the first week , he uses 1 / 2 of all the paint . during the second week , he uses 1 / 5 of the remaining paint . how many gallons of paint has joe used ?
Rationale: "total paint initially = 360 gallons paint used in the first week = ( 1 / 2 ) * 360 = 180 gallons . remaning paint = 180 gallons paint used in the second week = ( 1 / 5 ) * 180 = 36 gallons total paint used = 216 gallons . option d"
annotated_formula: add(multiply(divide(360, 2), 1), divide(subtract(360, multiply(divide(360, 2), 1)), 5))