Hi, in the video Partial derivatives - Part 1, we’re shown the following:

Then we’re asked to solve the extension of this principal in “Optimization with gradients: An example.”

If I “treat y as a constant” as instructed earlier then every term with a y will become zero because the derivative of a constant is 0. The result is 85-0 = 85. However, correct answer is provided as:

The correct logic must be different than what we are shown in the early example because it does not provide the correct solution when applied here. Can you please provide the step-by-step solution?

Thank you