Two overlapping Circles in a rectangle box 5cm by 9cm

How far apart are the centres of the two circles?

If you move the circles so that they are closer together or further apart, will you still be able to work out the distance between their centres in the same way?