Control Panel
Solving via Similar Triangles
Live Figure
Slide any value and watch the shadow x recompute live — this is the exact setup from the worked example, just with numbers you control.