In equilateral triangle ABC, vertices A, B, and C lie on three different lines. The distance between the lines for A and B is 1, and the distance between the lines for B and C is 2. Find the side length of the equilateral triangle.