You earn $8 an hour doing cleanups and $12 an hour painting. Last spring and summer, you worked a total of 400 hours and earned $3,800. How many hours did you spend doing cleanups? How many hours did you spend painting?