The spring force is -kx and you are given so t he total force is .
Sorry, I dont understand this question.Another question:
The mass-spring system with free vibrations are external force?
Just add a damping term to the equation. Is the damping proportional to x or to v= dx/dt?And with vibration damped?