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?	Choose the correct choice from the following options:
A) 18  B) 144  C) 175  D) 216  E) 250
<gadget id="calculator">360 / 2</gadget>
<output>180</output>

<gadget id="calculator">180 * 1</gadget>
<output>180</output>

<gadget id="calculator">360 - 180</gadget>
<output>180</output>

<gadget id="calculator">180 / 5</gadget>
<output>36</output>

<gadget id="calculator">180 + 36</gadget>
<output>216</output>

<result>D</result>
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?
add(multiply(divide(360, 2), 1), divide(subtract(360, multiply(divide(360, 2), 1)), 5))
"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"