A family has two cars. The first car has a fuel efficiency of 15 miles per gallon of gas and the second has a fuel efficiency of 40 miles per gallon of gas. During one particular week, the two cars went a combined total of 1525 miles, for a total gas consumption of 60 gallons. How many gallons were consumed by each c the two cars that week?
First car: gallons
Second car: gallons