Thank you for reporting, we will resolve it shortly
Q.
A heat engine absorbs heat $Q_1$ at temperature $T_1$, and $Q_2$ at temperature $T_2.$ Work done by the engine is $(Q_1 + Q_2)$. This data:
Thermodynamics
Solution:
Some mechanical energy is always converted to other form of energy or total heat cannot be converted to useful work. This is first law of thermodynamics