a sample of ideal gas is originally at 40 degrees celsius. what is the final temperature of the gas if the volume is doubled and pressure is reduced to half of the original values?