contestada

A square inscribed in a circle and centered at the origin has points at (2, 2), (- 2, 2), (2, -2) and ( -2, -2). What is the equation of the circle that circumscribes the square?
X^2+y^2=8 is the answer but why?