Now I have not yet started making this picture, and I would like some pointers.
Any method to produce the image is sufficient, alas I would prefer TikZ and perhaps
asympote or similar
A rope is 10 meters long. We cut the rope in half, where the first part is made into a equilateral triangle and the second part is made into a square.
The part that is used for the triangle is x meters long.
What my problem is, is that I do not know how to change the size of the square accordingly to the triangle.
For example if I say that 2 meters goes to the triangle. How would I make TikZ know that 8 would go to the square?