Citadel interview question

Find if a point is incide a triangle