Holly had a total of 150 books and magazines. She bought another 50 books and gave away 1/3 of her magazines. The number of books and magazines became the same. What was the ratio of the number of books to the number of magazines at first? (Give your answer in the simplest form.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
b + m = 150 b = 150 - m
b + 50 = m - m/3
150 - m + 50 = m - m/3
m = 120 b = 30
b / m = 1/4