Billy is buying some candy with $10 his father gave him. The candy costs $1.5 a pound. After buying candy, he takes half his change and spends it on gumballs, which cost $.05 each. If he bought 40 gumballs, how many pounds of candy did he buy?
He spent $2 on gumballs because 40 x .05 = 
<gadget id="calculator">40*.05</gadget>
<output>2</output>
2.
He had $4 in change because 2 / .5 = 
<gadget id="calculator">2/.5</gadget>
<output>4</output>
4.
He spent $6 on candy because 10 - 4 = 
<gadget id="calculator">10-4</gadget>
<output>6</output>
6.
He bought 4 pounds of candy because 6 / 1.5 = 
<gadget id="calculator">6/1.5</gadget>
<output>4</output>
4.

<result>4</result>