simplifying expressions involving fractions and square roots