17. Find the equation of a curve passing through the point given that at any point on the curve, the product of the slope of its tangent and y coordinate of the point is equal to the x coordinate of the point.
According to the question,
Now, Since the curve passes through (0,-2).
x =0 and y = -2
Putting the value of c, we get