i)
gradient = dy/dx = (5 - -3)/(7 - 1) = 4/3
y = (4/3)x + c
(1, -3)
-3 = 4/3 + c
c = -13/3
y = (4/3)x - 13/3
3y = 4x - 13
ii)
4x + (4/3)x - 13/3 - 17 = 0
(16/3)x = 64/3
x = 4
y = 17 - 4x
y = 17 - 4(4)
y = 1
check and see (4, 1) is midpoint.
iii)
4x + y − 17 = 0
y = 17 - 4x
perp. grad = -1/(-4) = 1/4
y = x/4 + c
(4, 1)
1 = 4/4 + c
c = 0