Finding the derivative of this rule;

y = (e^x - e^-x) / 2

y = 1/2 (e^x - e^-x)

y' = 1/2 (e^x + e^-x)

The constant multiple rule was applied to that last line to flip the minus sign to a plus ... but I don't understand the logic. How does that rule work?