document.write( "Question 1161192: Blue rulers cost $1.50 and green rulers cost $4.50. The school purchases total of 60 rulers for the students and spends $129. How many of each type of ruler did she buy? \n" ); document.write( "
Algebra.Com's Answer #784675 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
let b = no. of blue rulers
\n" ); document.write( "let g = no. of green
\n" ); document.write( ":
\n" ); document.write( "Blue rulers cost $1.50 and green rulers cost $4.50.
\n" ); document.write( " The school purchases total of 60 rulers for the students and spends $129.
\n" ); document.write( " How many of each type of ruler did she buy?
\n" ); document.write( ":
\n" ); document.write( "two equations
\n" ); document.write( "b + g = 60
\n" ); document.write( "or
\n" ); document.write( "b = (60-g)
\n" ); document.write( "and
\n" ); document.write( "1.50b + 4.50g = 129
\n" ); document.write( "replace b with (60-g)
\n" ); document.write( "1.5(60-g) + 4.5g = 129
\n" ); document.write( "90 - 1.5g + 4.5g = 129
\n" ); document.write( "3g = 129 - 90
\n" ); document.write( "3g = 39
\n" ); document.write( "g = 39/3
\n" ); document.write( "g = 13 green rulers
\n" ); document.write( "you can find the no. of blue ones
\n" ); document.write( ":
\n" ); document.write( "Check solutions in the 2nd equation
\n" ); document.write( "
\n" );