Hi Sabi,
Firstly x cannot be 2 or 6 because you cannot divide by 0 BUT it can be 1.
Your working and your answer is correct except you forgot that $$x\ne6$$
So the answer should be
$$\\x<1,\quad2 6\qquad x\in R\\\\
True for\;\;\;(-\infty,1),\;\;(2,6)\;\;(6,\infty)$$
Does this answer agree with yours now?
I will also take you to task for your setting out. You need more brackets!
I have added squar brackets where more brackets were needed :)
[(x-1)(x-6)]/[(x-6)(x-2)]>0