A rectangle has a length of 8 feet and a width of 3 feet. If a right triangle has a height of 3 feet, what length would its base be if it has the same area as the rectangle?