Addition or subtraction of fractions with different denominators