Start with the identity and form two equations by differentiating first with respect to , then with respect to . The resulting equations are
and
Solve these equations for and . One approach to solving these equations "by hand" is to write the system in matrix form and apply Cramer's rule. Thus, write
so that
and
are the desired solutions.