The solution to factor ab-2a-5b+10 is (b-2)(a-5)