Richard P. answered 05/03/20
PhD in Physics with 10+ years tutoring experience in STEM subjects
The easiest approach to to start with the second part.
The vector from P towards Q is (0-3 , 2 -0) = ( -3,2)
Thus a parametric expression for the line segment from P towards Q is
(rx , ry) = t ( -3,2) + (3,0) 0 < t <1
So x = 3 - 3 t and y = 2 t and 9 x + 5y = 27 -17 t
So the line integral is ∫ ds [ 27 - 17 t ] limits: 0 to 1
Since the contour C is a straight line segment, ds = dt sqrt(32 + 22) = dt sqrt(13)
The line integral is thus sqrt(13) ( 27 - (1/2) 17 ) ~ 66.7