Put the p(x) function into the R(x) function.
R(x) = x (400 - 0.2x) Distribute x into each term in the ( ).
R(x) = 400x - 0.2 x^2 This is a quadratic where the vertex or turning point is the maximum.
The maximum is at 1000 units which produced $200,000 in revenue.