Katie works at a coffee shop and as a babysitter. She worked twice as many hours babysitting than she did at the coffee shop last week. She earns \$8/hour at the coffee shop and \$10/hour babysitting and earned a total of $168 last week. How many hours did she work at each job?

b = 2c

8c+10b = 168
Now crank 'er out.