Two congruent pentagons are each formed by removing a right-angled isosceles triangle from a square of side-length 1. The two pentagons are then fitted together as shown. What is the length of the perimeter of the octagon formed?
(A) (B) (C) (D) (E)

Two congruent pentagons are each formed by removing a right-angled isosceles triangle from a square of side-length 1. The two pentagons are then fitted together as shown. What is the length of the perimeter of the octagon formed?
(A) (B) (C) (D) (E)
