In expression x-2 coefficient of x is equal to one.
Let a be "a" x's coefficient.
If we put "a" to Your equation, it should be looks like:
ax-2
We know that there is only one x, so expression ax have to be equal x
Now we get
[tex]ax=x[/tex]
From this equation we know that coefficient x "a" is equal to 1.