Bill gets paid $20 every hour he works up to a total of 40 hours, after which he gets paid double that amount per hour.  How much does Bill get paid for a 50-hour workweek?
Bill makes $20 an hour for the first 40 hours, meaning he gets paid 40*20= 
<gadget id="calculator">40*20</gadget>
<output>800</output>
800 dollars.
For the remaining 10 hours, Bill gets paid double the amount of $20, meaning he makes 20*2=40 dollars an hour.
Since he worked 10 hours at that $40 an hour rate, that means he gets paid 10*40= 
<gadget id="calculator">10*40</gadget>
<output>400</output>
400 dollars for the final 10 hours.
In total, this means Bill gets paid 800+400=
<gadget id="calculator">800+400</gadget>
<output>1_200</output>
1200 dollars for his workweek.

<result>1_200</result>