A mathematical problem about vector in senior one Given a (1,0), line L: y = 2x-6, point R is a point on line L, if RA vector = 2AP vector, find the trajectory equation of point P

A mathematical problem about vector in senior one Given a (1,0), line L: y = 2x-6, point R is a point on line L, if RA vector = 2AP vector, find the trajectory equation of point P

p(x,y),R(x1,2x1-6)
From RA vector = 2AP vector, (1-x1,6-2x1) = 2 (x-1, y)
We get 1-x1 = 2x-2 and X1 = 3-2x
6-2x1 = 2Y, then X1 = 3-y
Then 3-2x = 3-y is y = 2x