A family has two cars. The first car has a fuel efficiency of 25miles per gallon of gas and the second has a fuel efficiency of 20miles per gallon. During one week the two cars went a combinedtotal of 1700 miles for a total gas consumption of 75 gallons. Howmany gallons were consumed by each of the two cars?