Answer:
see explanation
Step-by-step explanation:
The equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
Calculate m using the slope formula
m = [tex]\frac{y_{2}-y_{1} }{x_{2}-x_{1} }[/tex]
with (x₁, y₁ ) = (0, a) and (x₂, y₂ ) = (1, b)
m = [tex]\frac{b-a}{1-0}[/tex] = b - a
y = (b - a)x + c
(a)
with coefficient of x being b - a
(b)
The line crosses the y- axis at (0, a ) ⇒ c = a
y = (b - a)x + a