An ideal gas is taken through A to B to C to A