Here, in expression 10q-9q, q is just a "variable", whose value can be anything which depends on other side expression and as it is not there we can't calculate it. We can simplify it as:
10q - 9q = 1q
So, final answer of simplification is q
Hope this helps!