Assignment:
1st car has fuel efficiency of 15 miles per gallon. Second car has fuel efficiency of 40 miles per gallon. during a week the two cars combined went a total of 1225 miles with a total gas consumpton of 40 gallons. How many gallons were consumed by each car?
Provide complete and step by step solution for the question and show calculations and use formulas.