Profit = selling price-buying price
Profit = purchase price × profit rate
It can be inferred from the above: profit = (selling price-profit) × profit rate.
China answered your question very well in.
If you are satisfied, please click [Accept Answer] or satisfy O (∩ _ ∩) O. Thank you.
If you don't understand, please ask,