Help Required! Minimum lines that could pass all the given points

Find minimum number of lines that could pass all the given points atleast once. - Codeforces Can Someone help me figure out this problem