x3 = 20 x1 = 10 y3 = 15 y1 = 25 r = sqrt((x3-x1) * (x3-x1) + (y3-y1) * (y3-y1)) print(r)>>> 14.142135623730951
M21G01X6.31Y5.773G03 X20.53 Y19.836 I13.42 J12.805 <--- этоG02 I57.041 J55.944G03 X13.459 Y19.876 I16.975 J16.321M20