How can you take the derivative
$$\frac{d}{dx}(y^2)$$
I don't understand how the chain rule applies here. Someone told me that the chain rule applies here because $y$ can be expressed in some type of $x$ expression, but I still don't get it.
So, I do understand how to apply the chain rule, I just don't understand why it applies in this situation.
I checked this video.