An art class is making a mural for their school which has a triangle drawn in the middle. The length of the bottom of the triangle is X. Another side is 6 more than three times the length of the bottom of the triangle. The last side is 4 more than the bottom of the triangle. Write and simplify an expression for the perimeter of the triangle.