James drives 30 mph for half an hour and then twice as long for twice the speed.  How far did he drive in total?
His first drive was 30*.5=
<gadget id="calculator">30*.5</gadget>
<output>15</output>
15 miles.
The next leg was .5*2=
<gadget id="calculator">.5*2</gadget>
<output>1</output>
1 hour.
The speed of the trip was 30*2=
<gadget id="calculator">30*2</gadget>
<output>60</output>
60 mph.
So he drove 60*1=
<gadget id="calculator">60</gadget>
<output>60</output>
60 miles.
So in total he drove 60+15=
<gadget id="calculator">60+15</gadget>
<output>75</output>
75 miles.

<result>75</result>