Please solve the problem with figures.
Draw first the circle with the right dimension.
Draw a poligon with 4 edge circumscibed the circle.
Now you can cange dimension of the square and the circle follow it.
--- You can also change the dimension of the circle an the square follow it ---