Answer:
d = 13 miles
Explanation:
Lets say the position of court house is origin in this case
her office is located at 4 miles west and 4 miles south of court house
so here we have coordinate of the office with respect to court house is given as

now the position of her home is located at 1 miles east and 8 miles north of the court house
so the coordinates of her home is given as

now the change in the position is given as the distance between office and home



The electrostatic force between two charges is given by Coulomb's law:

where
ke is the Coulomb's constant
q1 is the first charge
q2 is the second charge
r is the separation between the two charges
By substituting the data of the problem into the equation, we can find the magnitude of the force between the two charges:
(186,000 mi/sec) x (3,600 sec/hr) x (24 hr/da) x (365 da/yr)
= (186,000 x 3,600 x 24 x 365) mi/yr
= 5,865,696,000,000 miles per year (rounded to the nearest million miles)

Actually Welcome to the concept of Efficiency.
Here we can see that, the Input work is given as 2.2 x 10^7 J and the efficiency is given as 22%
The efficiency is => 22% => 22/100.
so we get as,
E = W(output) /W(input)
hence, W(output) = E x W(input)
so we get as,
W(output) = (22/100) x 2.2 x 10^7
=> W(output) = 0.22 x 2.2 x 10^7 => 0.484 x 10^7
hence, W(output) = 4.84 x 10^6 J
The useful work done on the mass is 4.84 x 10^6 J