In the diagram, a circle centered at the origin, a right triangle, and the Pythagorean theorem are used to derive the equation of a circle, x2 + y2 = r2.
If the center of the circle were moved from the origin to the point (h, k) and point P at (x, y) remains on the edge of the circle, which could represent the equation of the new circle?
A: (h + x)2 + (k + y)2 = r2
B: (x – h)2 + (y – k)2 = r2
C: (k + x)2 + (h + y)2 = r2
D: (x – k)2 + (y – h)2 = r2
