Translate the sentence into an equation.

Twice the difference of a number and 9 equals 5.

Use the variable y for the unknown number.​