Tom needs to buy fabric to make aprons for his wood shop. Each apron will be 1/2 feet long and 3 feet wide. Each piece of fabric that he can buy is 2 feet long and 3 feet wide. Tom needs to make 9 aprons. How many pieces of fabric does he need to buy?