Pregunta de entrevista de Tebra General Trading

Geometry question about triangle length