John skateboarded for 10 miles and then walked another 4 miles to the park. He then skated all the way back home. How many miles has John skateboarded in total?
John traveled 10 + 4 = 
<gadget id="calculator">10+4</gadget>
<output>14</output>
14 miles to the park.
His round trip would take 14 x 2 = 
<gadget id="calculator">14*2</gadget>
<output>28</output>
28 miles.
If you subtract the 4 miles he walked then John traveled 28 - 4 = 
<gadget id="calculator">28-4</gadget>
<output>24</output>
24 miles.

<result>24</result>