Find the retail price (R) based on the wholesale price (W) and the markup rate (m):
R = W*(1 + m)
Find the sale price (S) based on the retail price (R) and the discount rate (d):
S = R*(1 - d) and substitute for R: S = W*(1 + m)*(1 - d)
Find the final price (F) based on the sale price (S) and the tax rate (t):
F = S*(1 + t) and substitute for S: F = W*(1 + m)*(1 - d)*(1 + t)
In the final expression, you should replace the variables with the corresponding cell references.