The formula for the power is,
[tex]\begin{gathered} P=\frac{W}{t} \\ Where, \\ P=Power \\ W=Work \\ t=Time \end{gathered}[/tex]Work done is,
[tex]\begin{gathered} W=F\times S \\ Where, \\ W=Work \\ F=Force \\ S=Displacement \\ here, \\ F=40N;\text{ }and\text{ }S=20m; \\ So, \\ W=F\times S=40\times20=800J \end{gathered}[/tex]Here time taken to do the work is 10 sec
So,
[tex]P=\frac{W}{t}=\frac{800}{10}=80\text{ watt/sec}[/tex]So power generated by the force is 80 watt/sec.