A publisher ships a package of x number of books each weighing 50 pounds. The total weight of both packages is 120 pounds. How many books are being shipped?