Question 1168293
<pre>
A carpenter had two apprentices for a job. The carpenter worked 6 hours longer than the first apprentice. The second apprentice worked twice as long as the first. If the carpenter and his apprentices worked a total of 22 hours, how long did the carpenter work?

Let amount of hours carpenter worked be C 
Then 1st apprentice worked C - 6 hours, and 3rd apprentice worked: 2(C - 6) = 2C - 12 hours
As all 3 worked for a total of 22 hours, we get: C + C - 6 + 2C - 12 = 22
                                                             4C - 18 = 22
                                                                  4C = 40
                             Number of hours carpenter worked, or {{{highlight_green(matrix(1,5, C, "=", 40/4, "=", highlight(10)))}}}</pre>