The pressure of a gas is directly proportional to its temperature and inversely proportional to its volume.
PV/T = PV/T
(1.00atm * 3.5 L)/ 273k = (P * 0.50L)/(39.1 + 273k)
Do some simple algebra and you will get
P = 8.0 (Note that there should be 2 sigfigs)