A store offers 20% off and you also have a 10coupon.Taking2010 coupon. Taking 20% off is one function, subtracting 10coupon.Taking2010 is another, and checking out applies one after the other: a composition. Swapping the order changes what you pay.