The revenue generated by a company manufacturing lawn mowers is R(x)= -0.6x^2+73x where x represents the number of mowers produced. The cost to produce the mowers is C(x)=25x+250, Where x is the number of mowers produced .

Find the profit function that describes the total profit on the sale of x lawn mowers. P(x)=
Give the profit earned if 40 mowers are sold.