So It's Back To First Principles (Part 1)

Even if you have more than one unknowns, you can use partial derivatives.

Newton-Rapson