What is the perimeter of a triangle with the following sides: (5x2+9x),(7x2+7),(3x5)?