An employee makes 30 dollars an hour for the first 40 hours in the workweek and an additional 50% for every hour above 40 in the week.  If he works 6 hours for the first 3 days in the workweek and twice as many hours per day for the remaining 2 days, how much money did he make?
His overtime pay per hour is 30*1.5=$
<gadget id="calculator">30*1.5</gadget>
<output>45</output>
45 per hour.
He works 6*2=
<gadget id="calculator">6*2</gadget>
<output>12</output>
12 hours per day for the last two days.
He works 6+6+6+12+12=
<gadget id="calculator">6+6+6+12+12</gadget>
<output>42</output>
42 hours.
He gets 42-40=
<gadget id="calculator">42-40</gadget>
<output>2</output>
2 hours of overtime.
He makes 40*30+2*45=$
<gadget id="calculator">40*30+2*45</gadget>
<output>1_290</output>
1290 for the week.

<result>1_290</result>