Step-by-step explanation:
For engine 1,
Energy removed = 239 J
Energy added = 567 J
For engine 2,
Energy removed = 457 J
Energy added = 789 J
For engine 3,
Energy removed = 422 J
Energy added = 1038 J
So, the engine 2 has the highest thermal efficiency.