To stretch the graph of f(x) vertically by a factor of 3, we need to multiply the function by 3. Therefore, the equation of g(x) is:
g(x) = 3 * [2(1/3)^(x-3) + 1]
Simplifying this expression further:
g(x) = 6 * (1/3)^(x-3) + 3
Thus, the equation of g(x) is:
g(x) = 6(1/3)^(x-3) + 3