For a given input value b, the function g outputs a value a to satisfy the following equation.
a-7=3(b+2)
Write a formula for g(b), in terms of b.