is the partial differential of U with respect to y1. This means you differentiate the function with respect to y1, treating all other variables as constants

Taking the first term, remembering to treat y2 as a constant when differentiating, this is

Now all the other terms

You try the other one.