You know that P and T are directly proportional with n, V constant:
T2/T1 = P2/P1 or I prefer T2 = T1(P2/P1) where state 1 is 44.1mm Hg, 40 degrees C and state 2 is 1.7 atm and T2
The units must mesh and be absolute (0 in T means 0 in P). 40°C = 313.15K and P2 is 44.1/760 atm. Now, just plug into the equation. T2 will be in K which you can convert back to Celsius.