Let B the unknown number.
The quotient of this number and five can be express as:

Six more than the quotient of a number and five can be express as:

Finally we know that this is equal to eight, then we have the equation:

Solving for B we have that:

Therefore the unknown number is 10