Determining the diameter of a circle for an array of circles

I was going on this comment: