A lot of people have been sick at Gary's workplace, so he's been working a lot of extra shifts to fill in for people. As a result, he's earned some overtime (where every hour after 40 he earns 1.5 times his normal wage.) His paycheck (before taxes are taken out) came out to $696. If Gary normally earns $12 per hour, how many hours did he work that week?
Gary earned overtime, so he worked at least 40 hours. for which he was paid 40 hours * $12/hour = $
<gadget id="calculator">40*12</gadget>
<output>480</output>
480 at his normal wage.
This means that $696 - $480 = $
<gadget id="calculator">696-480</gadget>
<output>216</output>
216 was earned at his overtime wage.
His overtime wage is 1.5 his normal wage, or $12 * 1.5 = $
<gadget id="calculator">12*1.5</gadget>
<output>18</output>
18 per hour.
So Gary worked $216 / $18 per hour = 
<gadget id="calculator">216/18</gadget>
<output>12</output>
12 hours' worth of overtime.
So in total, Gary worked 40 hours + 12 hours = 
<gadget id="calculator">40+12</gadget>
<output>52</output>
52 hours that week.

<result>52</result>