If the radius of the sphere is 1 inch than the volume is: 4.18879 or 4.19 rounded.
I used substitution on this website https://www.omnicalculator.com/math/volume
Just plug in the 4.18879 at the cylinder volume and put in a random number in the radius or height whichever you want then it'll give you the one you left blank. You'll find three possibilities for the radius and height of 4.18879 volume.