hexagon logo

How make formula of distance

Hi every one.
I am new comer, I want to calculate min distance between 2 circle as attachment picture, can you give me solution?
Thank you.!

Optiv Classic 443
PCDMIS Pro 2017 R1