The Ideal Gas Law is used to relate the pressure, volume, temperature and amount of an "ideal" gas. Although many gases are not perfectly ideal in reality, you can usually use the Ideal Gas Law anyway. Here is how you solve these problems!
The Ideal Gas Law is: PV = nRT.