We have been given the price-demand equation for avocados is 10 p + x = 25.
Let us solve the equation for x.

Subtract 10p to both sides of the equation

Revenue function is given by

Therefore, the revenue function in terms of weekly price for avocados is given by
