Work is a strange but useful mathematical concept. It is very handy because it is conservative in inertial frames. It also has an intuitive meaning most of the time, but not always. This is what gets people into trouble. Engineers have to accept the formal definition, not the intuitive definition, and this is what is being tested here.
The question as posed is very unrealistic. So the intuitive sense of what is going on is misleading. But it can be handled by simply using the definitions at hand.
The reaction forces are indeed necessary, but they do no work in this reference frame because they aren't associated with any displacement. Is this realist? No - this will not happen in the real world. But it is how we are told to treat this problem .
So all of the other forces evaluate to zero work. The only work is the constant force (again, unrealistic) acting on an deformable body over distance s. So the integral of $\mathbf{F} \cdot ds$ over the interval s is just $\mathbf{F} \cdot s$.
From a comment:
The problem statement doesn't indicate that all other forces are
associated with zero displacements.
Okay, but the question is about the work "done by the force $F1$". Some mechanism produces $F1$, and the amount of work it does is $F1 \cdot s_1$.
You can ignore the details of the free body and the other forces. In the real world, there would only be one way to parameterize the other forces in terms of $F1$ so that $F1$ is constant and some body reference point remains stationary throughout.
We can loosen that condition a bit and only require that the net acceleration of the entire body is zero (final ketetic energy equals initial kinetic energy). Now there are multiple ways to parameterize the other forces in terms of $F1$, and $s_1$ is dependent on which parameterization you choose, as are all the other displacements $s_2 - s_n$. The total work done on the body by all forces is constant if the shape is the same. The relationship between the possible displacements is that they are linear transforms. But the work done by $F1$ is still $F1 \cdot s_1$ whatever $s_1$ turns out to be.
Now we can remove all restrictions, let the free body accelerate as it will. Let it deform as it will. There are infinite parameterizations of the other forces in terms of $F1$. It still doesn't matter. The work done by $F1$ is still $F1 \cdot s_1$. That is why we really like to work with work. Problems can be separated into tractable pieces if you can parameterize the pieces.