Solve (L-2R)^2==(X-2R)^2+(Y-2R)^2 for R