dy^2/dx = dy^2/dy * dy/dx
= 2y * dy/dx