point a=(1,0,0) to the point b=(2,2,0)

The correct Ans: 11

However, when I was calculuating the problem,

I supposed(is that the right word?) to make the parameter equations,

x=1+t

y=1+t

z=0

where 0<t<1

but when I integrated the function, the answer is 6.