a person bought 8 items at a market and received $8 in change. if each item was priced at $4, how much did the person give the vendor when paying?