Emily is thinking of a number represented by the variable x. If she doubles this number and then subtracts 6, the result is 14. This situation can be expressed with the equation:
$$2x - 6 = 14$$
What is the value of x?