Recall that the perimeter is the sum of all the sides. So, for the first triangle, the perimeter is 4x+2+7x+7+5x-4 = 16x + 5
second triangle: x+3 + 2x-5 + x+7 (combine like terms)
Part b: Subtract the perimeter of the smaller triangle from the perimeter of the larger triangle.