C is the center of the circle with a diameter whose endpoints are the points A(-2, 1) and B(6, 9).
What is the equation of circle C?