Translate the sentence into an equation.

The sum of 4 times a number and 7 equals 5.

Use the variable w for the unknown number.