How do you solve g?

4 = (1 + g)^20

Take the 20th root of each side then subtract 1 from both sides to solve for g.