what cases of quadratic equation where factoring method is applicable? ​