John has been having trouble sleeping lately.  In the past week he was only able to get 3 hours of sleep on 2 of the days and on the remaining days he was only able to get 60% of the recommended 8 hours of sleep.  How much sleep did he get this week?
For the 2 days he gets 2*3=
<gadget id="calculator">2*3</gadget>
<output>6</output>
6 hours.
He gets 60% of the recommended amount for 7-2=5 days.
On those days he gets 8*.6=
<gadget id="calculator">8*.6</gadget>
<output>4.8</output>
4.8 hours.
So he gets 5*4.8=
<gadget id="calculator">5*4.8</gadget>
<output>24</output>
24 hours.
So he gets a total of 24+6=
<gadget id="calculator">24+6</gadget>
<output>30</output>
30 hours of sleep.

<result>30</result>