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