Maya wants to build a bookshelf with a top, a bottom, and two shelves inside. She wants the height of the entire bookshelf to be 4 times the length of each shelf. She has 24 feet of wood to use for her bookshelf. Let x represent the length of a shelf.