(a) You can parameterize C by the vector function
r(t) = (x(t), y(t) ) = P (1 - t ) + Q t = (2 - 2t, 7t )
where 0 ≤ t ≤ 1.
(b) From the above parameterization, we have
r'(t) = (-2, 7) ==> ||r'(t)|| = √((-2)² + 7²) = √53
Then
ds = √53 dt
and the line integral is
(c) The remaining integral is pretty simple,