The base of an isoceles triangle is 7cm longer than each of the legs. Find the legs if the perimeter of the triangle is 43cm