Answer: The answer is 1.772 r.
Step-by-step explanation: Given that a cone and a pyramid have the same height and same volume. The radius of the base of the cone is 'r' units.
We are to find the side length of the square base of the pyramid.
Let, 'h', be the height of both cone and pyramid and 'l' be the side length of the square base of the pyramid.
Then, the volumes of both cone and pyramid are respectively

Since the volume of cone is equal to the volume of pyramid, so we have

Thus, the side length of the square base of the pyramid is 1.772 r.