we can use combined gas laws to solve for the volume of the gas
[tex] \frac{PV}{T} [/tex]
where P - pressure, V - volume , T - temperature and k - constant
[tex]\frac{P1V1}{T1} = \frac{P2V2}{T2} [/tex]
parameters for the first instance are on the left side and parameters for the second instance are on the right side of the equation
T1 - temperature in Kelvin - 20 °C + 273 = 293 K
T2 - 40 °C + 273 = 313 K
substituting the values
[tex] \frac{1.5 atm*10L}{293 K} = \frac{0.9 atm*V}{313K} [/tex]
V = 17.8 L
volume of the gas is 17.8 L