They are just solving the other equations

The is a constant of integration, but it is only constant with respect to not because we used partial integration to undo the partial derivative.

The u equation is solved exactly the same way! your initial conditions will define the arbitrary constants(functions)