Translate the sentence into an equation.

Twice the difference of a number and 7 equals 3.

Use the variable y for the unknown number.