I have to solve this problem, yet I'm not sure what is asked.
Given a triangle whose vertices are defined by its coordinates. Determine where is the point O with the given coordinates - inside or outside the triangle?
This is a fairly known problem that reduces to a system of linear equations. Take a look at this http://stackoverflow.com/questions/2049582/how-to-determine-a-point-in-a-triangle