Mixed operations with fractions