The perimeter of a triangle is 48 centimeters. If two sides are equally long and the third side is 6 centimeters longer than the​ others, find the lengths of the three sides.