The function is
.
Find the first partial derivative
.
.
Differentiate partially with respect to
treating
as constant.
Derivative formula:
.
.
Find the first partial derivative
.

Differentiate partially with respect to
treating
as constant.

Derivative formula:
.
.
First partial derivatives are
and
.