By symmetry angles BAP and DAQ are 15 degrees so the length of the side of the box is 1+cos 15o =1.9659258... so the circles can fit into a square of side 1.97.