document.write( "Question 1190847: In a store, a 40% discount was applied to the price P of an item. In another store, a 50% discount was applied to the price Q of the same item. In both stores the final price after applying the discount was $18. What is the difference, in dollars, between prices P and Q? \n" ); document.write( "
Algebra.Com's Answer #822577 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "P and Q are the original prices before the 40% and 50% discount respectively.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you save 40%, then you pay the remaining 60%
\n" ); document.write( "0.60P = price after discount
\n" ); document.write( "0.60P = 18
\n" ); document.write( "P = 18/0.60
\n" ); document.write( "P = 30\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you save 50%, then you pay the remaining 50%
\n" ); document.write( "0.50Q = 18
\n" ); document.write( "Q = 18/0.50
\n" ); document.write( "Q = 36\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The difference between the original prices is Q-P = 36-30 = 6 dollars
\n" ); document.write( "
\n" ); document.write( "
\n" );