It takes John 5 minutes to get to the first side of the Rubik's cube.  The second and third sides each take twice that long.  The last 2 sides each take half as long as the first, and once you get the 5th side you have all 6 sides.  How long does the Rubik's cube take?
The second and third side each take 2*5=
<gadget id="calculator">2*5</gadget>
<output>10</output>
10 minutes.
So they take 10*2=
<gadget id="calculator">10*2</gadget>
<output>20</output>
20 minutes together.
The last 2 sides take 5/2=
<gadget id="calculator">5/2</gadget>
<output>5/2 = around 2.5</output>
2.5 minutes.
So they take 2.5*2=
<gadget id="calculator">2.5*2</gadget>
<output>5</output>
5 minutes.
So the total time is 5+20+5=
<gadget id="calculator">5+20+5</gadget>
<output>30</output>
30 minutes.

<result>30</result>