factorise using factor theorem - Search