two sides of a triangle have the same length the third side measures 6 in less than twice that length the perimeter of the triangle is 22m find the length of the three sides