Translate the sentence into an equation.
Twice the difference of a number and 2 is 6.
Use the variable w for the unknown number.