When a circle passes through a (2,1) point and is tangent to a straight line X-Y = 0, and the center of the circle is on 2x-y = 0, the standard equation of the circle is obtained

When a circle passes through a (2,1) point and is tangent to a straight line X-Y = 0, and the center of the circle is on 2x-y = 0, the standard equation of the circle is obtained

Let center a (m, n), then 2m = n; and √ ((m-2) ^ 2 + (n-1) ^ 2) = | m - n | / √ (1 ^ 2 + 1 ^ 2); then solve the equation!