The correct option is A y=x
We know that,
if a point lies on the line then, the point satisfies the condition of the line.
Now,
considering line y=x.
On putting point (0,0) in the line y=x,
⇒0=0
On putting point (1,1) in the line y=x,
⇒1=1
On putting point (2,2) in the line y=x,
⇒2=2
∵ All the given points satisfies the condition of line y=x.
Thus, all the points lie on the line y=x.