"p" is the price of the car before tax. The 5% tax adds 0.05p to the total cost. So, the total cost is p + 0.05p = (1+0.05)p = 1.05p. To find "p", you should use this equation 1.05p = 25000, which gives you the solution for the affordable car price before the tax p == 23810 dollars.