Hi

You are right but you made a useless complication

As you said you must consider as constant

The derivative of kf (with k constant and f function) is kf'

You can consider where

Therefore the partial derivative of u with respect to x is

and the second derivative is

You do not need to use the product rule