3.8 task (point and polygon)