I want to know the perimeter of the quadrilateral and triangle

Area or Perimeter of Triangles and Quadrilaterals. Perimeter is the distance around a shape. To find the perimeter of any two dimensional shape, find the sum of the lengths of all the sides. Area is the number of square units it takes to cover a two dimensional shape.
*(The Answer)*= The first figure is 8x-4 and the second figure is 2x+11
*(The Explanation)*= Add all the side are combine the terms of all the sides.