Simplifying expressions and fractions