Consider the following variation of the aggregate production function. Now firms must use oil M to produce output (in addition to labor and capital). The price of a unit of oil is p :
max Π = α β y
f AK L M - ωL-rK-pM
Find a first-order condition for the firm's demand for oil.