Problem: a furniture dealer purchased a desk for $ 180 and then set the selling price equal to the purchase price plus a markup that was 40 % of the selling price . if the dealer sold the desk at the selling price , what was the amount of the dealer ' s gross profit from the purchase and the sale of the desk ?
Rationale: "purchase price = 180 selling price = x 180 + 0.4 * x = x 0.6 * x = 180 x = 300 profit = 300 - 180 = 120 answer : d"
annotated_formula: divide(multiply(subtract(divide(180, subtract(const_1, divide(40, const_100))), 180), const_100), 180)