3.2 task (point and triangle)