Answer:
Electrolysis is the process by which ionic substances are decomposed (broken down) into simpler substances when an electric current is passed through them. ... Electricity is the flow of electrons or ions. For electrolysis to work, the compound must contain ions.
We can solve the problem by using the first law of thermodynamics, which states that:

where

is the change in internal energy of the system
Q is the heat absorbed by the system
W is the work done by the system
In our problem, the heat absorbed by the system is Q=+194 kJ, while the work done is W=-120 kJ, where the negative sign means the work is done by the surroundings on the system. Therefore, the variation of internal energy is