Question 1: Answer
Work has been done by the gas on the left. The input heat on the right has gone solely to raising the tempeature of the gas (its internal energy).