determine when you would want to use h(x) applying the $5 coupon first, and determine when you would want to use j(x) applying the 25% off first.
(my notes if needed)
