The ideal gas law is
PV = nRT
By rearranging the formula to solve for temperature (T), we get:
T = PV/nR
Then for this particular set of values that becomes
T = (7.4 atm x 125L) / (4.5 mol x 0.0821 Latm / molK) = 2503.72
meaning that the temperature of the gas here is about 2503.72 K