Solution to an exponential equation

Consider the equation
2(x + 2) = 64
The log of both sides to base 2 is:
log2(2(x + 2)) = log2(26)
Thus, x + 2 = 6
Or, x = 4