let x be our number. So we have the following expression
as "divided by a number". As for "the number decreased by 2" we have x-2. So we also have the expression
We are told that this 2 expressions are equal, so we have the equation
which is equivalent to the equation
If we distribute on the left side, we get
Now, we add 8 on both sides, so we get
Finally, we subtract 3x on both sides
So our number is x=8. We can check that
and that
so our answer is correct