Explanation:
if that is truly the full problem description, then we have
10x - x + 5 = 41
=>
9x = 36
our simply
x = 4
so, I am not sure, what your teacher wants to see as result.
there is an infinite number of equations I could find, all with the solution x = 4.