john bought a shirt on sale for 25 % off the original price and another 25 % off the discounted price . if the final price was $ 18 , what was the price before the first discount ?
let x be the price before the first discount . the price after the first discount is x - 25 % x ( price after first discount ) a second discount of 25 % of the discounted price after which the final price is 18 ( x - 25 % x ) - 25 % ( x - 25 % x ) = 18 solve for x x = $ 32 correct answer a
divide(multiply(multiply(const_100, const_100), 18), subtract(multiply(subtract(const_100, 25), const_100), multiply(subtract(const_100, 25), 25)))