document.write( "Question 601583: A man goes into a grocery store and buys a grapefruit and a toy ball. A 7% tax is applied
\n" ); document.write( "to the price of non-food items. If the total bill is $5.15, including $0.18 in tax on the toy
\n" ); document.write( "ball, what are the prices of the grapefruit and the ball?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #379880 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
A man goes into a grocery store and buys a grapefruit and a toy ball. A 7% tax is applied to the price of non-food items. If the total bill is $5.15, including $0.18 in tax on the toy ball, what are the prices of the grapefruit and the ball?
\n" ); document.write( ".
\n" ); document.write( "Let g = cost of grapefruit
\n" ); document.write( "and b = cost of ball
\n" ); document.write( "then
\n" ); document.write( "since we know the tax on the ball:
\n" ); document.write( ".07b = .18
\n" ); document.write( ".
\n" ); document.write( "solve equation for b:
\n" ); document.write( ".07b = .18
\n" ); document.write( "b = .18/.07
\n" ); document.write( "b = $2.57 (cost of ball)
\n" ); document.write( ".
\n" ); document.write( "\"cost of grapefruit\" + \"cost of ball\" + \"tax on ball\" = \"total\"
\n" ); document.write( "g + 2.57 + .18 = 5.15
\n" ); document.write( "g + 2.75 = 5.15
\n" ); document.write( "g = $2.40 (cost of grapefruit)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );