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