Bob gets paid $5 an hour for the regular hours he works and $6 an hour for any overtime hours he works. All hours over 40 in a week are considered overtime. If Bob works 44  hours in the first week and 48 hours in the second week, how much did he make?
Bob has worked 40 hours/week x 2 weeks = 
<gadget id="calculator">40*2</gadget>
<output>80</output>
80 regular hours.
Bob got paid 80 hours x $5/hour = $
<gadget id="calculator">80*5</gadget>
<output>400</output>
400 for his regular hours.
Bob worked 44 hours - 40 hours = 
<gadget id="calculator">44-40</gadget>
<output>4</output>
4 hours of overtime in the first week.
Bob worked 48 hours - 40 hours = 
<gadget id="calculator">48-40</gadget>
<output>8</output>
8 hours of overtime in the second week.
In total Bob worker 8 hours + 4 hours =
<gadget id="calculator">8+4</gadget>
<output>12</output>
12 hours of overtime.
Bob got paid $6/hour x 12 hours = $
<gadget id="calculator">6*12</gadget>
<output>72</output>
72 for overtime.
In 2 weeks Bob earned $400 + $72 = $
<gadget id="calculator">400+72</gadget>
<output>472</output>
472.

<result>472</result>