The equation of an isothermal process with ideal gas (like air) is
The work of a reversible isothermal process is given by
where are the initial and the final volume of the air respectively.
Substitute in the first equation the initial parameters
We can find the final volume from the first equation
Substitute to the second equation to find the work done