James earns $20 an hour while working at his main job. He earns 20% less while working…
- User
James earns 840 per week. How many hours does he work at his main job?
- Assistant
Let's denote the number of hours James works at his main job as ( H ).
At his main job, he earns ( $20 ) per hour, so for ( H ) hours, he earns ( 20H ) dollars.
At his second job, he earns ( 20% ) less per hour than at his main job. So, he earns ( 20 - 0.20 \times 20 = 20 - 4 = $16 ) per hour at his second job.
Since he works half the number of hours at his second job as at his main job, he works ( \frac{H}{2} ) hours at his second job.
Therefore, at his second job, he earns ( 16 \times \frac{H}{2} = 8H ) dollars.
In total, over the week, he earns ( 20H + 8H = 28H ) dollars.
We are given that he earns ( $840 ) per week, so we can set up the equation:
( 28H = 840 )
Now, we solve for ( H ):
( H = \frac{840}{28} )
( H = 30 )
So, James works ( 30 ) hours at his main job.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.