The formula of a distance between two points:

We have two points A(-5, 2) and B(-5, 8). Substitute:

d is a diameter of a circle because d = 2r = 2(3).
The center of a circle is in midpoint of AB.
The formula of a midpoint:

Substitute:

Answer: (-5, 5).