Two sides of a triangle have the same length. The third side measures 6 m less than twice the common length. The perimeter of the triangle is 14 m. What are the lengths of the three​ sides?