An ideal gas undergoes the cyclic process abca as shown in the figure. The internal energy change of the gas along the path ca is . The gas absorbs 250 J of heat along the path ab and also absorbs 60 J of heat along the path bc. Find the work done by the gas along the path abc.