A line passes through the points (0,2.5) and (4, 2.5) 
The slope of a line is m=(y2-y1)/(x2-x1 )
 For the given line, x1=0, y1=2.5, x2=4, y2=2.5
 Substituting the values in the formula,
 m=(2.5-2.5)/(4-0)
 m=0/4
 m=0
 Another line passes through (3,-1). 
 The line passes through (3,-1) is parallel to the line that passes through 
(0,2.5) and (4,2.5).
 Therefore the slopes of these two lines are equal.
 m=0 and the line passes through (3,-1)
 The formula is y-y1=m(x-x1)
 X1=3 and y1=-1 m=0
 Substituting these values in the formula,
 y+1= 0(x-3)
 y+1=0
 y=-1