document.write( "Question 144426: Hi, please help...\r
\n" ); document.write( "\n" ); document.write( "A family has two cars. In a given week, the first car gets an average of 30 miles per gallon, and the second car gets 25 miles per gallon. The two cars combined drive a total of 1525 miles in that week, for a total gas consumption of 55 gallons. How many gallons were consumed by each of the two cars that week?
\n" ); document.write( "

Algebra.Com's Answer #105195 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
A= distance driven by 1st car (30 mpg)
\n" ); document.write( "1st car used A/30 gallons
\n" ); document.write( "B= distance driven by 2nd car (25 mpg)
\n" ); document.write( "2nd car used B/25 gallons
\n" ); document.write( "A+B = 1525
\n" ); document.write( "A/30 + B/25 = 55
\n" ); document.write( "A = 1525-B
\n" ); document.write( "(1525-B)/30 + B/25 = 55
\n" ); document.write( "Multiply by 150 to clear fractions
\n" ); document.write( "5(1525-B) + 6B = 8250
\n" ); document.write( "7625-5B + 6B = 8250
\n" ); document.write( "B + 7625 = 8250
\n" ); document.write( "B = 625 miles
\n" ); document.write( "A = 900 miles
\n" ); document.write( "
\n" );