Multiply: implement general solution