Glenda bought z containers of laundry detergent at $9 each. She gave the cashier $50

a. Find the change Glenda received in terms of z

b. If z=3, how much did Glenda receive?