Leah has a collection of stamps. Initially, she has $50$ stamps. She gives $x$ stamps to her friend and later receives $20$ new stamps as a gift. If Leah now has $48$ stamps, how many stamps did she give to her friend?