Any point on the line y = x is of the form
(a,a)
(0,a)
(a,0)
(a,-a)
Any point on the line y = x will have x and y coordinate the same.
So, any point on the line y = x is of the form (a, a).
Hence, option A is the correct answer.