document.write( "Question 286659: Max went to the fair with 5 friends. Some paid $2 each to ride the bumper cars. The rest paid $3 each to ride the roller coaster. They spent $16 in all. How many rode each ride? \n" ); document.write( "
Algebra.Com's Answer #207904 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
x+y=5
\n" ); document.write( "x=5-y
\n" ); document.write( "2(5-y)+3y=16
\n" ); document.write( "Double check your numbers.
\n" ); document.write( "Let's say all of them got on the bumper cars 2*5=10
\n" ); document.write( "3*5=15
\n" ); document.write( "Even if all 5 got on the $3 ride they would not spend $16.\r
\n" ); document.write( "\n" ); document.write( "It would work if some got on both. But you don't say that.
\n" ); document.write( "
\n" );