Answer:
Part a : <em>The final volume of oxygen gas is </em>
<em> whereas that of nitrogen is </em>
<em></em>
Part b: <em>The work done by oxygen and nitrogen is 13.64 J and -11.13 J respectively.</em>
Part c: <em>The change of internal energy in this process is zero.</em>
Part d: <em>13.62 J of heat enters, oxygen and 11.11 J of heat leaves Nitrogen.</em>
Explanation:
Part a
As gases behave ideally and the process is taken in the quasi static steps thus at equilibrium

As the ideal gas equation is valid so

Here
n is the moles of
which is given as 0.02 mol.
R is the general gas constant which is 8.3
T is the temperature of the gas which is given a 27C or 300K
V is the volume of nitrogen gas at equilibrium which is to be calculated.

Here
n is the moles of oxygen which is given as 0.03 mol.
R is the general gas constant which is 8.3
T is the temperature of the gas which is given a 27C or 300K
V is the volume of oxygen gas at equilibrium which is to be calculated.
As both the pressures would be equal so

Also as the total volume will remain the same so

Using the value of nitrogen volume in the above equation leads

Solving for nitrogen gas volume

<em>The final volume of oxygen gas is </em>
<em> whereas that of nitrogen is </em>
<em></em>
Part b
As the process is with constant temperature, the work by nitrogen is given as

Here
is half of the total volume i.e 
So solving the equation gives

Similarly for Oxygen

The work done by oxygen and nitrogen is 13.64 J and -11.13 J respectively.
Part c
As the change in internal energy is given as

In this process as the temperature is constant throughout i.e.T=300K so ΔT=0
Thus the change of internal energy is 0.
The change of internal energy in this process is zero.
Part d
As Heat is given as

As ΔU is zero as calculated above in part c so than the heat is given as
For nitrogen gas

Substituting the value of work done as calculated in part b

For oxygen gas

Substituting the value of work done as calculated in part b

13.62 J of heat enters, oxygen and 11.11 J of heat leaves Nitrogen