To find the equation of the line, we pick two corresponding points of x and y,

Formula to find the equation of a line is,

Substituting the points into the formula to find the equation of a line above,
![\begin{gathered} (y-5)/(x-0)=(0-5)/(2-0) \\ \text{Crossmultiply} \\ 2(y-5)=-5(x) \\ \text{Open bracket} \\ 2y-10=-5x \\ 2y=-5x+10 \\ \text{Divide both sides by 2} \\ (2y)/(2)=((-5x+10))/(2) \\ y=-(5)/(2)x+5 \end{gathered}]()
Where the general equation of a straight line is given as,


Comparing both equations, the c = 5, is the y-intercept.
Alternatively,
The y-intercept is the point where x = 0 and from the table provided,
Where x = 0, y = 5.
Hence, the y-intercept is 5.