this is an exponential equation: 4^x - 2 = 20. First thing: combine the -2 and the 20: 4^x = 22.
Next, take the logarithm (natural or common log) of both sides. We get:
log 22
x log 4 = log 22. Then x = ----------- (answer). You could, of course, evaluate
log 4 this on a suitable calculator.