For isothermal process
$\begin{aligned}
& \left|\mathrm{W}{\text {reversible }}\right|{\text {expansion }}=\left|\mathrm{W}{\text {reversible }}\right|{\text {compression }} \
& =-\mathrm{nRT} \ln \frac{\mathrm{V}_{\mathrm{f}}}{\mathrm{V}_{\mathrm{i}}} \
& \left|\mathrm{~W}{\text {irreversible }}\right|{\text {expansion }} \lt \left|\mathrm{W}{\text {irreversible }}\right|{\text {compression }} \
& \mathrm{d} \gt \mathrm{c}=\mathrm{a} \gt \mathrm{b} \
& \left|\mathrm{~W}{\text {irreversible }}\right|{\text {expansion }}=-\mathrm{P}{\text {ext }}\left(\mathrm{V}{\mathrm{f}}-\mathrm{V}_{\mathrm{i}}\right)
\end{aligned}$

We can compare work by area of PV graph