If P (1,−2)is the mid-point of the portion of a line intercepted between the coordinate axes, then find the equation of the straight line.