For Question 1
Use the following parameterization:
r(t) = <x0,y0>(1-t) + <x1,y1>t
Where (x0,y0) be the starting point of the line segment.
And (x1,y1) be the end point of the line segment.
And (x1,y1) be the end point of the line segment.
(Keep in mind <x0,y0> is a vector = x0 i + y0 j)
In this case, (x0,y0) = (0,2) and (x1,y1) = (2,0)
r(t)
= <0,2>(1-t) + (2,0)t
= <0, 2(1-t)> + <2t, 0>
= <2t, 2-2t>
dr/dt = <2, -2> dt