Answer:
and
.
Explanation:
We have been given that point b has coordinates (1,2). The x-coordinate of point a is -2. The distance of point a and point b is 5 units.
We will use distance formula to solve our given problem.

Let us assume that (1,2) is
and point





Square both sides:








Therefore, the possible coordinates of point 'a' are
and
.