If is an isosceles triangle, ​with base AC, AB = 3x+2, BC = 7x-6, and AC = 10x – 10, find the value of x and the length of each side of the triangle.