Enter the number that makes the following mathematical statement true.

7 x g - 35 = 7 (g - ?)
Also the x is really a dot in the problem.
Thanks

The number that makes the mathematical statement true is 5.