The side lengths of a triangle can be modeled by the following expressions.
Side a: 3x - 1
Side b: x + 9
Side c: 12x -4
If the perimeter of the triangle is 52 inches, what is the value of x?