document.write( "Question 963330: How would I setup this problem:
\n" ); document.write( "All 147 students in the Math Club went on a field trip. some students rode in vans which hold 9 students each and some students rode in buses which hold 15 students each. How many of each vehicle did they use if there were 13 vehicles total?
\n" ); document.write( "

Algebra.Com's Answer #588530 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "V=number of vans; B=number of buses
\n" ); document.write( "V+B=13
\n" ); document.write( "V=13-B Use this to substitute for V.
\n" ); document.write( "9V+15B=147 Substitute for V from above.
\n" ); document.write( "9(13-B)+15B=147
\n" ); document.write( "117-9B+15B=147 Subtract 117 from each side.
\n" ); document.write( "6B=30 Divide each side by 6
\n" ); document.write( "B=5 ANSWER 1: There were 5 buses.
\n" ); document.write( "V=13-B=13-5=8 ANSWER 2: There were 8 vans.
\n" ); document.write( "CHECK:
\n" ); document.write( "9V+15B=147
\n" ); document.write( "9(8)+15(5)=147
\n" ); document.write( "72+75=147
\n" ); document.write( "147=147
\n" ); document.write( "
\n" );