Sper ca te-am fost de ajutor!
Am incercat sa iti fac rezolvarea corectă pe o foaie A4 pentru a înțelege!