You covered the total bill of $38, and your friend gave you $50. To determine how much your friend owes you, subtract the total bill from the amount your friend provided:
a) $12
b) $38
c) $50
d) $62