The function is .
Differentiate the function partially with respect to
.
.
Equate to zero.
Differentiate the function partially with respect to
.
.
Equate to zero.
Multiply equation (1) by 2.
\Subtract equation (2) from equation (3).
\Substitute in equation (1).
The values are and
.
The values are and
.