Let me continue the very nice answer of @MichealE2 and show how to parametrise the path from one given point to the other for all points. As Micheal says, you in fact have a vector field.
f[x_, y_] = {x - 2 y, x - 2 y};
pts = {{0, 0}, {1, 0}, {1, 1}, {0, 1}, {0, 0}};
parp = Partition[pts, 2, 1]
pp = (#[[1]] + Subtract @@ (Reverse@#)*u) & /@ parp
ParametricPlot[pp, {u, 0, .95}, PlotStyle -> Thick]
Total[Integrate[f[Sequence @@ #]. D[#, u], {u, 0, 1}] & /@ pp]
(* 3 *)
Plot[Evaluate[f[Sequence @@ #]. D[#, u]], {u, 0, 1}] & /@ pp
Another example
f[x_, y_] = {x - 2 y, x - 2 y};
pts = Table[{Cos[t], Sin[t]}, {t, 0, 2 Pi, 2 Pi/24}];
ListPlot@pts
parp = Partition[pts, 2, 1];
pp = (#[[1]] + Subtract @@ (Reverse@#)*u) & /@ parp;
ParametricPlot[pp, {u, 0, .9}, PlotStyle -> Thick]
Total[Integrate[f[Sequence @@ #]. D[#, u], {u, 0, 1}] & /@ pp]
(* -9 Sqrt[2] + 9 Sqrt[6] *)
Plot[Evaluate[f[Sequence @@ #]. D[#, u]], {u, 0, 1}] & /@ pp