2x+1=a(x-m)
(2-a)x=-am-1
x=(am+1)/(a-2)=0
am=-1
y=2(am+1)/(a-2)+1=m
2am+2+a-2=am-2m
am+a=-2m
a=-2m+1
m(1-2m)=-1
-2m^2+m+1=0
2m^2-m-1=0
(2m+1)(m-1)=0
m=1或-1/2
a=-1或2
2x+1=a(x-m)
(2-a)x=-am-1
x=(am+1)/(a-2)=0
am=-1
y=2(am+1)/(a-2)+1=m
2am+2+a-2=am-2m
am+a=-2m
a=-2m+1
m(1-2m)=-1
-2m^2+m+1=0
2m^2-m-1=0
(2m+1)(m-1)=0
m=1或-1/2
a=-1或2