Let the coordinates of the point be (h,k).
Distance of the point from origin =(h−0)2+(k−0)2=h2+k2
Distance of the point from the line x−2=0 is h−2
According to the given condition, h2+k2+h−2=4 ⇒h2+k2=6−h
Squaring both sides, we have, h2+k2=36+h2−12h or k2=−12(h−3) ∴ The path of the point is y2=−12(x−3).