Find the equation of a curve passing through the origin, given that the slope of the tangent to the curve at any point (x,y) is equal to the sum of the coordinates of the points.
Find the equation of a curve passing through the point (0,-2) given that at any point (x,y) 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.