Pergunta de entrevista da empresa Cadence Design Systems

How to determine a point is in an triangle