This can be factorised by splitting the middle term as follows
X2 -5x-2x+10 Or, x(x-5)-2(x-5)
Or, (x-5)(x-2)
******