Last week Fred had 16 dollars and Jason had 39 dollars. Fred washed cars over the weekend and now has 24 dollars. Jason delivered newspapers and now has 17 dollars. How much money did they earn by washing cars?
Fred earned 8 dollars by washing cars.