simplifying rational expressions with complex fractions