But we're taking the derivative with respect to x, so we have to take the derivative of this with respect y, which we did, and then multiply that times the derivative of y with respect to x, which is just dy/dx, or y prime.