document.write( "Question 19986: A family purchased 7 tickets for a train ride. The total cost was $27. If adult tickets were $5, and children's tickets were $3, find the number of each type of ticket purchased. \n" ); document.write( "
Algebra.Com's Answer #9646 by Paul(988)\"\" \"About 
You can put this solution on YOUR website!
Let x be the adults tickets
\n" ); document.write( "Let y be the childern tickets\r
\n" ); document.write( "\n" ); document.write( "x+y=7
\n" ); document.write( "y=7-x
\n" ); document.write( "5(x)+3(y)=27 (substitute)
\n" ); document.write( "5x+3(7-x)=27
\n" ); document.write( "5x+21-3x=27
\n" ); document.write( "2x+21-21=27-21
\n" ); document.write( "2x=6
\n" ); document.write( "\"2x%2F2=6%2F2\"
\n" ); document.write( "x=3
\n" ); document.write( "7-3=4
\n" ); document.write( "Therefore there were 3 adults ticket purchased and 4 childer tickets purchased.
\n" ); document.write( "
\n" );