We have,
Given points are
(x1,y1)=(5,4)
(x2,y2)=(8,4)
(x3,y3)=(0,4)
(x4,y4)=(−4,4)
(x5,y5)=(−2,4)
Then,