How to make a circle with a diameter of 6cm and cut it into the largest square

How to make a circle with a diameter of 6cm and cut it into the largest square

The length of the two diagonals of the square is 6cm, and the two diagonals are perpendicular to each other,
S=6*3=18