Ken used a piece of lumber to build a bookshelf. If he made three shelves that are each 2 1/2 ft long, how long was the piece of lumber?