The body of a hanger without its hook part is in the form of an isosceles triangle. The length of each of the two equal sides of this triangle is 8x+4 cm. The perimeter of the triangle 28x+14 cm. Find the ratio of the length of the base to the perimeter of the triangle.