In the figure above, what is the equation of the line that passes the y-axis at (0,5) and passes the x-axis at (5,0)?
Take Free Practice Test On 2026 JAMB UTME, Post UTME, WAEC SSCE, GCE, NECO SSCE
Correct Answer: Option B
Explanation:
(x1, y1) = (0,5)
(x2, y2) = (5, 0)
Using \(\frac{y - y_1}{y_1 - y_1} = \frac{x - x_1}{x_1 - x_1}\)
\(\frac{y - 5}{0 - 5} = \frac{x - 0}{5 - 0}\)
\(\frac{y - 5}{-5} = \frac{x}{5}\)
5(y - 5) = -5x
y - 5 = -x
x + y = 5
y = -x + 5
(x1, y1) = (0,5)
(x2, y2) = (5, 0)
Using \(\frac{y - y_1}{y_1 - y_1} = \frac{x - x_1}{x_1 - x_1}\)
\(\frac{y - 5}{0 - 5} = \frac{x - 0}{5 - 0}\)
\(\frac{y - 5}{-5} = \frac{x}{5}\)
5(y - 5) = -5x
y - 5 = -x
x + y = 5
y = -x + 5