Let O be the center of a circle with diameter AB. Let C be a point on the circle such that angle COA = 90. Point P lies on line segment OA, and when line segment CP is extended past P, it intersects the circle at Q. If PQ = 7 and PO = 20, then find r^2, where r is the radius of the circle.