A a closed zigzag polygon is made from two isosceles triangles with base 1 and altitude , and a similar triangle with base 2. A straight line through the origin and inclined at an angle cuts the polygon into two parts. What is the length of the blue part?