Cylinder A has a volume of 360 cm3. Cylinder B has a base and height identical to that of cylinder B, but leans to the right in such a way that its slant length is greater by 4 cm. What is the volume of cylinder B?