calculate the length of the legs of an isosceles triangle.The base is less than the other congruent legs by two units.The perimeter of the triangle is 22 meter .