Calculate the heat absorbed by a system in going through the cyclic process shown in the given figure.