[tex]f(x) = x^2 + 1 \\
g(x) = 3x + 1[/tex]
You can do this in parts.
[tex]f(-1) = (-1)^2 + 1 = 1 + 1 = 2[/tex]
g(-3) = 3(-3) + 1 = -9 + 1 = -8
So, 5g(-3) = 5(-8) = -40.
So f(-1) + 5g(-3) = 2 - 40 = -38
Or you can do this as one big chunk.
f(-1) + 5g(-3)
[tex]=[(-1)^2+1] + 5[3(-3) + 1] \\
= (2) + 5(-9 + 1) \\
= 2 + 5(-8) \\
= 2 - 40 \\ = -38[/tex]