What equation represents the law of conservation of energy in closed system
The first option.
The total mechanical energy before an action (which makes up PE and KE) equals the total mechanical energy after an action.
So
KEi + PEi = KEf + PEf