# RE2 | z-ai/glm-5.2 | run 2

## Prompt

After a 20% discount, a jacket costs $40. What was the original price? Show your work.

## Response

The original price of the jacket was $50. This is calculated by dividing the discounted price by the remaining percentage paid after the discount is applied.

Here is the step-by-step calculation:

1. Let \( P \) represent the original price of the jacket.
2. A 20% discount means the customer pays 80% of the original price: \( P \times (1 - 0.20) = 0.80P \).
3. The discounted price is $40, so we set up the equation: \( 0.80P = 40 \).
4. Solve for \( P \) by dividing both sides by 0.80: \( P = \frac{40}{0.80} \).
5. \( P = 50 \).

Therefore, the original price of the jacket was $50.

What other percentage or pricing problems can I help you solve?
