document.write( "Question 878522: there are two items for sale. The ratio of the first item's price to the second is 5:2. the total price of both items is $21. What is the price of the first item? \n" ); document.write( "
Algebra.Com's Answer #530015 by JulietG(1812)\"\" \"About 
You can put this solution on YOUR website!
A + B = 21
\n" ); document.write( "If the ratio is 5:2, that's 7 total units.
\n" ); document.write( "Divide 21 by 7 to get 3.
\n" ); document.write( "5(*3):2(*3)
\n" ); document.write( "15:6
\n" ); document.write( "The first item costs $15; the second, $6
\n" ); document.write( "
\n" );