12: Critical points:

It is in M, so candidates to be checked on are 0, 10, and 20.

What si the maximum?
Note that when the critical value for x is substituted into the constraint, it yields y = 10; this situation therefore describes a square.

Answer