A Koch snowflake begins with an equilateral triangle with side length of 1 (stage 0). Trisect each side and attach a smaller equilateral triangle to the center of each side (stage 1). Repeat for each triangle to obtain stage 2. Find the perimeter of the stage 2 snowflake.