Mr. Cisernos buys some basketballs (m) for a total of $50. He now has $20 left. Write an equation and solve how much Mr. Cisernos had before he bought the basketballs?