Use the equation of state for an Ideal Gas combined with the equation for the work done on or by an ideal gas during an isothermal volume change:
where and are the final and initial volumes respectively.