A sock company estimates that its monthly cost is C(x) = 100x² + 500xand its monthly revenue is R(x) = -0.523 + 800x? – 700x + 500,where x is in thousands of pairs of socks sold. The profit is the differencebetween the revenue and the cost.What is the profit function, P(x)?O A. P(x) = -0.5x3 + 900x2 - 200x + 500O B. P(x) = 0.523 - 900x² – 1200x + 500c. P(x) = -0.523 + 700.22 - 1200x + 500D. P(x) = 0.523 – 700x² + 1200x – 500SUBMIT