Work done by a gas is given by:
w=∫PdV=P(V2−V1)=1.7×105(0.8−1.2)=−0.68×105J
Given that internal energy decreases by ΔU=−1.1×105J
The first law of thermodynamics gives us the relation:
q=ΔU+w
q=−1.1×105−0.68×105=−1.78×105J
q=−1.78×105=−178×103J
x=178
If it was x×104 then x would be 18.