Twice the sum of a number and 4 is equal to 22. What is the number?

2(x + 4) = 22