va rog ajutor! nu stiu cum sa rezolv!

Explicație pas cu pas:
a.8
b.6
c.-6
d.-7
e.-40
f.-20
g.-7
h.1
I.0
j.5
k.5
f.-10