Applying multiplication and addition