A right triangle has a base of 12 feet long and an altitude of 8 feet. If a rectangle of length x will be drawn inside of the triangle so that the base of the rectangle falls on the base of the triangle, find the value of length x that may give maximum area for rectangle.