One side of a triangle is 4 inches longer than the side that is the base of the triangle. the third side is 6 inches longer than the base. of the perimeter is 34 inches​, find the length of each side.