In this case, according to the gas laws, we would be able to assume HCl can be modeled as an ideal gas for this calculation purpose; in such a way, we use the following equation to compute the temperature:
In such a way, we plug in moles, volume and pressure to obtain: