A certain item sells for $30. If the cost of producing this item is given by C=.05x^3+100, find the marginal profit when x=10.

So i know P(rofit)=R-C and marginal Profit =dP/dx

but im not sure how you find R and when you plug in 10 for x and $30

Please Help