Thermodynamic cycles problem explanation