Final answer:
To find g(d(n)) when n = 5, evaluate d(n) and substitute the result into g(d). The result is 67.
Step-by-step explanation:
To find g(d(n)) when n = 5, we first need to evaluate d(n) and then substitute the result into g(d).
- Let's start by finding d(n). The formula for d(n) is 4n + 2, so when n = 5, we have d(n) = 4(5) + 2 = 20 + 2 = 22.
- Now we substitute the value of d(n) into g(d). The formula for g(d) is 3d + 1, so when d = 22, we have g(d(n)) = 3(22) + 1 = 66 + 1 = 67.
Therefore, g(d(n)) when n = 5 is 67.