Creating natural movement for an AI?

The drawings are when the AI moves too and from a target.

How would I go about doing that, would I use a spline?