Answer:
4/3 Joules
Explanation:
Work is said to be done when force applied to an object causes the object to move through a distance.
Work done = Force * perpendicular distance.

Given Force F = xy i + (y-x) j and a straight line (-1, -2) to (1, 2)
First we need to get the equation of the straight line given.
Given the slope intercept form y = mx+c
m is the slope
c is the intercept
m = y₂-y₁/x₂-x₁
m = 2-(-2)/1-(-1)
m = 4/2
m = 2
To get the slope we will substtutte any f the point and the slope into the formula y = mx+c
Using the point (1,2)
2 = 2+c
c = 0
y = 2x
Substituting y = 2x into the value of the force F = xy i + (y-x) j we will have;
F = x(2x) i + (2x - x) j
Using the coordinate (1, 2) as the value of s
![W = \int\limits^a_b ({2x^2 i + x j}) \, (i+2j)\\W = \int\limits^a_b ({2x^(2)+2x }) \, dx \\W = [(2x^(3) )/(3) +x^(2) ]\left \ x_2=1} \atop {x_1=-1}} \right.\\W = (2(1)^3/3 + 1^2) - (2(-1)^3/3 + (-1)^2)\\W =(2/3+1) - (-2/3+1)\\W = 2/3+2/3+1-1\\W = 4/3 Joules](https://img.qammunity.org/2021/formulas/mathematics/college/h2etr9m7ihlojdqb1d8ig9dvfap1flpqvi.png)