document.write( "Question 368332: A bill from Sam's Steakhouse was $18.40. We used a 20% discount coupon, but we also paid a 5% tax and 15% tip. We based the tip for the waitress on the full price of the dinner. How much was the actual cost of the dinner before discounts, tip, and tax? \n" ); document.write( "
Algebra.Com's Answer #262487 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Hi,
\n" ); document.write( "Let x represent the actual cost of the dinner.
\n" ); document.write( "Note: 20% off is the same as paying 80% of the actual cost
\n" ); document.write( "Am assuming here the coupon applied only to the cost of the meal.
\n" ); document.write( "Question states:
\n" ); document.write( ".80x + .05(.80x) + .15x = $18.40
\n" ); document.write( ".80x + .04x + .15x = 18.40
\n" ); document.write( "solve for x \n" ); document.write( "
\n" );