Amelia wants to put wood shavings in her ferret​'s cage. The floor of the cage measures 1 yard wide by 9 feet long. One bag of shavings covers 5 square feet. How many bags will Amelia have to buy to cover the floor of the​ cage?