Inscribed triangles

This is a challenging problem involving creating inscribed triangles. A figure is given to be explored by dragging. Discover the dependencies that are built in to the figure. Then construct your own figure that behaves the same.