Equation of line joining AB is
y+1=5(x−2)
i.e. 5x−y−11=0
Also AB=(3−2)2+(4+1)2=26
r is the radius of the circle C
For the circle (x−5)2+(y−1)2=213
centre is (5,1) and radius R=213
Equation of perpendicular bisector of AB will be y−1=−51(x−5)⇒x+5y−10=0
Solving this equation of line with (x−5)2+(y−1)2=213, we get
M as (25,23)
So M lies on the line joining AB.

Now r2=CM2+AM2
=(2×213)2+(213)2
r2=265