Exercise 7: Constrained optimization

A company manufactures a liquid product P from two ingredients which are known simply as ingredient X and ingredient Y.
The amount D of product P produced, is given by the following function: