Synopsys interview question

how to prove a point inside triangle