The force on the object is horizontal.
from graph we can see that the force on the particle after moving 6.0m is,
[tex]F=40\text{N}[/tex]
the work done by the force is,
[tex]W=F\times S[/tex]
substituting we get,
[tex]\begin{gathered} W=40N\times(6.0-0)m \\ =240\text{J} \end{gathered}[/tex]
change in kinetic energy is,
[tex]\frac{1}{2}mv^2-0=240J[/tex]
we get this from work energy theorem.
Here v=8.0m/s
so by substituting we get,
[tex]\begin{gathered} \frac{1}{2}m\times8^2=240 \\ m=\frac{240\times2}{64} \\ m=7.5\operatorname{kg} \end{gathered}[/tex]
Hence the mass of the object is 7.5kg.