Using the variable x to represent the number, we have:
Five times a number: 5x
Six more than five times a number: 5x + 6
the number increased by eighteen: x + 18
So, equating the expressions 5x + 6 and x + 18, we have our equation:
Now, solving the equation for x, we have:
So the number we want is x = 3.