Pergunta de entrevista da empresa Altium Limited

finding intersection points with a triangle