Subtraction of fractions with different denominators