for f(2) the piece ax + 3 applies since 2 is > 0
f(2) = a(2)+3 = 5
so a =1
for f(0) the second piece applies because x = 0
f(0) = ab = 2 we know a = 1 so b = 2
for f(-2) the third piece applies since -2 <0
f(-2) = bx+c = 0
2 (-2) + c = 0 so c = 4 I'll let you finish !