<human>:  Thomas, Toby, and Rebecca worked a total of 157 hours in one week. Thomas worked x hours. Toby worked 10 hours less than twice what Thomas worked, and Rebecca worked 8 hours less than Toby. How many hours did Rebecca work?
<bot>: How many hours did Toby work? ** Toby: 2x-10
How many hours did Rebecca work? ** Rebecca: (2x-10)-8=2x-18
Write an equation ** Total:2x-10+2x-18+x=157
Combine like terms ** 5x-28=157
Add 18 to both sides ** 5x=185
Divide by 5 ** x=<<37=37>>37 hours
How many hours did Rebecca work? ** Rebecca:2(37)-18=56 hours
#### 56