pls help me i’m doing khan for my friend and i’m confused bc i forgot how to do this

Answer:
C= S (1 - P)
The following formula is used in economics to find a company's gross profit rate , where is the net sales and is the cost of goods sold. Rearrange the formula to highlight the cost of goods sold.