Two sides of a triangle have the same length. The third side measures 7m less that twice the common length. The perimeter of the triangle is 17m. What are the lengths of the three sides?