I thought I just had to half the diameter and then put it into the volume formula for cylinders but ig I was wrong? Help please?

I thought I just had to half the diameter and then put it into the volume formula for cylinders but ig I was wrong Help please class=