If a gasoline engine has an efficiency of 21 percent and losses 780 J to the cooling system and exhaust during each cycle, how much work is done by the engine?