The side lengths of a triangle are 8x+6, 5x-5, and -6x+12. Write an expression to calculate the perimeter of the triangle. (Note: Perimeter= sum of all side lengths)