A rectangular pool is to be built in a backyard. The owner wants the length of the pool to be 3 feet longer than twice its width. If the total perimeter of the pool is 36 feet, what will be the dimensions of the pool?