For hydrogen,
w=0.184 g; T=17+273=290 K; M=2 g/mol
We know that,
PV=wMRT
PV=0.1842×R×290 ...(1)
For the unknown gas,
w=3.7 g; T=25+273=298 K; M=?
PV=3.7M×R×298 ...(2)
Equating both the equations as P and V are the same,
3.7M×R×298=0.1842×R×290
or M=3.7×298×20.184×290=41.33 g/mol