Please help me out for my homework!

John bought a shirt on sale for 25% off the original price, which was then further
discounted by 20%. If the final price was $18, what was the price before the first discount?

x * 0.75 * 0.80 = 18