Complex add/sub/mult case for optimization

For a more complex optimization situation where the constant operands are spread across an expression.