Simplifying rational expressions 1 and 2