Think of a number, double it and add 7. I take the same number and subtract it from 19. The two answers are the same. What is the number?

2 x + 7 = 19 - x

3 x + 7 = 19
3 x = 12
x = 4