Please Help I am completely confused on how to do this. Thanks: An apple orchard produces annual revenue of $60 per tree when planted with 100 trees. Because of overcrowding, the annual revenue per tree is reduced by $0.50 for each additional tree planted.

REVENUE

Assuming , write an equation for the revenue produced by trees:

How many trees should be planted to maximize the revenue from the orchard?

Now suppose that the cost of maintaining each tree is $5 per year.

Write the profit function in terms of :

How many trees should be planted to maximize the profit from the orchard?