An isosceles trapezoid has a perimeter of 57 millimeters. Its shorter base measures 6 millimeters and its longer base measures 15 millimeters. The two remaining sides have the same length; what is that length?