altitude theorem

Move the slider and the red point.

Which things changes? Are there similaritys? Which conclusion can be drawn?