think about it, if you pick 4 socks, it cold be all four different colors but if its 5 then there has to be at least one pair of matching socks so the answer is 5
If we are working in a coordinate plane where the endpoints has the coordinates (x1,y1) and (x2,y2) then the midpoint coordinates is found by using the following formula: