Simplifying rational expressions that require factoring