The function is
.
Find the first partial derivatives
.
.
Differentiate partially with respect to
treating
as constant.


.
Find the first partial derivatives
.
.
Differentiate partially with respect to
treating
as constant.


.
First partial derivatives are
and
.