Under constant temperature, the volume occupied by a gas varies inversely to the pressure applied. If the gas occupies a volume of 24 cubic inches under a pressure of 5 pounds per square inch, find the volume when the gas is subjected to a pressure of 10 pounds per square inch.