15: Critical points:

It is in M, so candidates to be checked on are 0, the critical point above, and 2R.

What is the maximum?
Note that when the critical point x is substituted into the constrain, one gets the same value for y; thus this corresponds to a square.

Answer