The area of a trapezoid is 39 square millimeters. The height of the trapezoid is 8 millimeters. One of the base lengths of the trapezoid is 5 millimeters. What is the length of the other base of the trapezoid?