Answer :

TSO
5xy-10x

5x are both common, so take that as a factor:

5x(y-2)

And so 

5xy-10x = 5x(y-2)