x^2=(50-x)^2+(49-x)^2-2500+100x-2401+98x-x^2=0
-4901+198x-x^2=0
D=198^2-4*(-1)*(-4901)=39204-19604=19600
x1=(140-198)/(2*(-1))=29x2=(-140-198)/(2*(-1))=169
x^2=(50-x)^2+(49-x)^2
-2500+100x-2401+98x-x^2=0
-4901+198x-x^2=0
D=198^2-4*(-1)*(-4901)=39204-19604=19600
x1=(140-198)/(2*(-1))=29
x2=(-140-198)/(2*(-1))=169