The distance between the two parallel lines is 1 unit. A point 'A' is chosen to lie between the lines at a distance 'd' from one of them. Triangle ABC is equilateral with B on one line and C on the other parallel line. Find the length of the side of the equilateral triangle is