Simplifying rational expressions: two variables