Harry is using a total of 34 feet of lumber to make a bookcase. The left and right sides of the bookcase are each 5 feet high. The top, bottom, and two shelves are all the same length, labeled w. How long is each shelf?