A line that passes through the origin intersects both the line x=2x = 2x=2 and the line y=2+13xy = 2 + \frac{1}{\sqrt{3}} xy=2+31x. These three lines form an equilateral triangle. What is the perimeter of this triangle?