How would I use the chain rule here for x^2+y^2=z^2 but still have my answer in equation form?

recall that if u is a function of x, then d/dx u^2 = 2u du/dx

So,

2x + 2y y' = 2z z'