document.write( "Question 161501: Pop's Cycle Shop sells bicycles and tricycles. The number of bicycles is 1 less than 5 times the number of tricycles. All the bicycles and tricycles together have a total of 154 wheels. How many bicycles are there? \n" ); document.write( "
Algebra.Com's Answer #118971 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
let b = number of bicycles
\n" ); document.write( "let t = number of tricycles
\n" ); document.write( "number of bicycles is 5 times the number of tricycles minus 1 becomes
\n" ); document.write( "b = 5*t - 1
\n" ); document.write( "subtract b from both sides of the equation and add 1 to both sides of the equation and it becomes
\n" ); document.write( "1 = 5*t - b
\n" ); document.write( "which is the same as
\n" ); document.write( "5*t - b = 1
\n" ); document.write( "since a bicycle has 2 wheels and a tricycle has 3 wheels, 2 times the number of bicycles plus 3 times the number of tricycles totals the number of wheels which is 154, so the equation becomes
\n" ); document.write( "2*b + 3*t = 154 which is the same as 3*t + 2*b = 154
\n" ); document.write( "-----
\n" ); document.write( "2 equations to solve simultaneously are:
\n" ); document.write( "5*t - b = 1
\n" ); document.write( "3*t + 2*b = 154
\n" ); document.write( "multiply both sides of the first equation by 2 to change the first equation to
\n" ); document.write( "10*t - 2*b = 2 which will allow us to cancel out the b's.
\n" ); document.write( "simultaneous equations are now
\n" ); document.write( "10*t - 2*b = 2
\n" ); document.write( "3*t + 2*b = 154
\n" ); document.write( "add first equation to second equation to get
\n" ); document.write( "13*t + 0*b = 156
\n" ); document.write( "which becomes
\n" ); document.write( "13*t = 156
\n" ); document.write( "which becomes
\n" ); document.write( "t = 156 / 13 = 12
\n" ); document.write( "so,
\n" ); document.write( "t = 12
\n" ); document.write( "-----
\n" ); document.write( "original equations copied here for ease of reference:
\n" ); document.write( "2 equations to solve simultaneously are:
\n" ); document.write( "5*t - b = 1
\n" ); document.write( "3*t + 2*b = 154
\n" ); document.write( "-----
\n" ); document.write( "substitute 12 for t in the first equation to get
\n" ); document.write( "5*12 - b = 1
\n" ); document.write( "which becomes
\n" ); document.write( "60 - b = 1
\n" ); document.write( "adding b to both sides of the equation and subtracting 1 from both sides of the equation gets
\n" ); document.write( "60 - 1 = b
\n" ); document.write( "which becomes
\n" ); document.write( "b = 59
\n" ); document.write( "-----
\n" ); document.write( "substituting 59 for b and 12 for t in the second equation and it becomes
\n" ); document.write( "3*12 + 2*59 = 154
\n" ); document.write( "which becomes
\n" ); document.write( "36 + 118 = 154
\n" ); document.write( "which becomes
\n" ); document.write( "154 = 154 proving the answer is correct.
\n" ); document.write( "-----
\n" ); document.write( "answer is:
\n" ); document.write( "12 tricycles and 59 bicycles\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );