I found this problem in a website, but I don't know how to solve it.
Given a line segment $AB$. Construct an equilateral triangle with one side being $AB$.
Place the tip of the compass on point A, and open it up so that you can draw an arc across point B.
Your compass radius is now set to the length AB.
Keeping the radius the same, place the tip of the compass on point A again, and draw an arc on the paper above your segment.
Place the tip of the compass on point B now, again using the same radius, an draw another arc that intersects the first arc. The point of intersection is point C.
Now use your straightedge to draw line segments AC and AB.
With problems like these, I think it is best to just try.
Geogebra is great software that makes it easier to draw geometric constructions. I recently made a little geometry game with geogebra software, and this is actually the first level of that game! You can try that level here.
Hint : Draw circles ! If you heading in the right direction, the software will give an "Well done!" message.
If a side of your triangle is $[AB]$ then $A$ and $B$ are 2 points out of 3 from your triangle. You want then to find $C$ such that $ABC$ would be equilateral. To do this, just draw the circle of centre $A$ and radius $AB$. Then draw the circle of centre $B$ and radius $AB$. The point of intersection of the circles is the point $C$. You then have your triangle!