There is a line integral over a straight line as follows (the problem here: https://tutorial.math.lamar.edu/Solutions/CalcIII/LineIntegralsPtI/Prob1.aspx):
Line Integral: $$\int 3x^2 - 2y\ ds$$ Equation of the line: $$2y=7x-9$$
In the solution, The author suggests that due to the reverse direction of line, parametrization is necessary but I don't know why. In fact, I can't figure out why my solution (below) leads to a wrong result (negative the correct one), despite the fact that I'm defining the integration interval($x$) from 3 to 1 so it is supposed to be consistent with the direction. $$\int 3x^2 - 2y\ ds \rightarrow \int_{3}^{1} 3x^2 - 2y \sqrt{1+\left (\frac{7}{2} \right )^2} dx $$
Edit: once I simplified the main function, but now it is as in the problem.
