I couldn't develop the parametric curve nor I didn't understand very well
This is the question:

There is the answer:

I tried $\int_{0}^{1}(3y-\sqrt{z})ds = \int_{0}^{1}(2y)ds$ because $z=y^2$ but didn't work
I used first this parametric:
A(1,0,0) to B (1,2,4)
x(t) = 1
y(t) = 2t
z(t) = 4t
I tried more things but didn't find the correct answer. Someone please could help me understand how to find the correct parametric curve to apply in integral?