Answer
The number is $51$.
Work Step by Step
Let
$x$ = the unknown number
Then
"six times a number" means $6x$
"eight subtracted from six times a number" means $6x-8$
Thus, the equation that represents the situation is:
$6x-8=298$
Add $8$ on both sides of the equation to obtain:
$6x=306$
Divide $6$ on both sides of the equation to obtain:
$x=\dfrac{306}{6}
\\x=51$