Computing ratios of side lengths, surface areas, and volumes for similar solids