The length of the base of an isosceles triangle is x. The length of a leg is 2x - 4. The perimeter of the triangle is 52. Find x.
X=