The ideal gas law can be written as ...
P1*V1/T1 = P2*V2/T2
PV = nRT
P1*V1 = P2*V2
P1*V1/T2 = P2*V2/T1