That's the chain rule. If you want to simplify the notation, do a quick z = dy/dx substitution, and you'll see how it works out.