finding volume of a solid with scale factor