document.write( "Question 640514: A grocery store bought ice cream for $2.60 a half gallon and stored it in two freezers. During the night, one freezer malfunctioned and ruined 15 half gallons. If the remaining ice cream is sold for $3.98 per half gallon, how many half gallons did the store buy if it made a profit of $64.20? \n" ); document.write( "
Algebra.Com's Answer #403259 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
A grocery store bought ice cream for $2.60 a half gallon and stored it in two freezers. During the night, one freezer malfunctioned and ruined 15 half gallons. If the remaining ice cream is sold for $3.98 per half gallon, how many half gallons did the store buy if it made a profit of $64.20?
\n" ); document.write( "**
\n" ); document.write( "let x=number of half gallons of ice cream the store bought
\n" ); document.write( "x-15=number of unspoiled half gallons of ice cream
\n" ); document.write( "..
\n" ); document.write( "3.98(x-15)-2.60x=64.20
\n" ); document.write( "3.98x-59.70)-2.60x=64.20
\n" ); document.write( "1.38x=64.20+59.70=123.90
\n" ); document.write( "x=123.90/1.38≈89.78≈90 half gallons
\n" ); document.write( "number of half gallons of ice cream the store bought=90 half gallons
\n" ); document.write( "
\n" );