Answer:
g(10) = 31
f(-3) = -2
h(2) = -7
j(7) = 333
j(3) = 17
I hope the last 2 were for the same function lol