Janiyah drew a triangle in the sand. If the length of each side is 2 m, 2 m and 1 m, what is the perimeter of the triangle?