document.write( "Question 387215: Tyrel and dalia bought some pens and pencils. Tyrel bought 4 pens and 5 pencils which cost her $6.71... Dalia bought 5 pens and 3 pencils which cost her $7.12.... let a equal the cost of one pen and let b eual the cost of one pencil \n" ); document.write( "
Algebra.Com's Answer #273686 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Tyrel and dalia bought some pens and pencils.
\n" ); document.write( "Tyrel bought 4 pens and 5 pencils which cost her $6.71...
\n" ); document.write( "Dalia bought 5 pens and 3 pencils which cost her $7.12....
\n" ); document.write( "let a equal the cost of one pen and let b equal the cost of one pencil
\n" ); document.write( "-------------
\n" ); document.write( "Equations:
\n" ); document.write( "4a + 5b = 671 cents
\n" ); document.write( "5a + 3b = 712 cents
\n" ); document.write( "-----
\n" ); document.write( "Multiply 1st by 5
\n" ); document.write( "Multiply 2nd by 4
\n" ); document.write( "------
\n" ); document.write( "20a + 25b = 5*671
\n" ); document.write( "20a + 12b = 4*712
\n" ); document.write( "------
\n" ); document.write( "Subtract 2nd from 1st and solve for \"b\":
\n" ); document.write( "13b = 507
\n" ); document.write( "b = 39 cents (price of one pencil)
\n" ); document.write( "---
\n" ); document.write( "Substitute into 4a+5b = 671 to solve for \"a\":
\n" ); document.write( "4a + 5*39 = 671
\n" ); document.write( "4a = 476
\n" ); document.write( "a = 119 cents (price of one pen)
\n" ); document.write( "=====================================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" ); document.write( "
\n" );