the given expression is,
profit P = S - C
where
C = 100x^2 + 500x - 300
and
S = 150x^2 + 450x + 200
now put the values,
P = 150x^2 + 450x + 200 - (100x^2 + 500x - 300)
= 150x^2 + 450x + 200 -100x^2 - 500x +300
= 50X^2 - 50x + 500
thus, the equation of profit is, P = 50x^2 - 50x + 500