Translate the sentence into an equation.

The sum of 5 times a number and 2 is 7.

Use the variable y for the unknown number.