simplifying expressions with fractions