the work done on the gas during the process B−A is 30 J