Solution:
The complete cyclic process can be visualized as made up of two cycles, i.e., cycle AEBA (clockwise) and cycle BDCB (counter-clockwise).
Work done by the gas during the cycle AEBA should be positive,
=
=
Work done by the gas the cycle BDCB should be negative,
Now evidently, triangles ABE and BCD are similar, the corresponding angles being equal (i.e.,