IDNLearn.com: Your destination for reliable and timely answers to any question. Get comprehensive and trustworthy answers to all your questions from our knowledgeable community members.
-1 is less than 0, so you use the first equation:
3(-1) +2 = -3+2 = -1
f(-1) = -1
For 0 use the 2nd equation:
3(0) + 4 = 0+4 = 4
f(0) = 4
For 2 use the 2nd equation:
3(2) + 4 = 6+4 = 10
f(2) = 10