Let \begin{align}x&=at\\ y&=bt\\ z&=y^2\end{align}
Then $$\frac{\partial z}{\partial x} = ?$$
I solved this as
\begin{align}\frac{\partial z}{\partial x} &= 2y\frac{\partial y}{\partial x}\\\\ &= 2y\left(\frac{\partial y}{\partial t}\frac{\partial t}{\partial x}\right)\\\\ &= 2y\times b\times \frac 1a\end{align}
Is this correct?
In this case are $z$ and $x$ independent or dependent variables?
EDIT
If this is correct and the derivative is non zero, then $z$ and $x$ are dependent variable. Can you help me solve this bigger problem understanding partial derivatives in backpropagation algorithm