The expression Gay-Lussac's law is a case of the ideal gas law.
Pi/Ti = Pf/Tf
where Pf = final pressure, Tf = final absolute temperature, Pi = initial pressure, Ti = initial absolute temperature.
The Gay-Lussac's law only applies to ideal gases held at a constant volume.