Hey there!
I honestly think it's more helpful that I give you pointers instead of the 'working out and explanations' for this question - it does seem like an assignment, so I do think it'll be handier in the long run that you do most of the work yourself.
So now, the pointers:
There are multiple ways to calculate minimum distances between a point and a curve. There are two ways I can think of off the top of my head:
a) constructing a distance function, proving that such a minimum exists, then finding the distance at that minimum, or
b) considering that for the distance to be a minimum, the line through the point (-a, a) that intersects the curve y=f(x) must be perpendicular to the tangent at the point of intersection - I'd be more inclined to explore this method, given that it does point you in the direction of part b) as well
Try exploring either of these, and preferably both - see why and how they work! It might also be helpful to use some graphing technology or your own graphing prowess to get a bit of a visual on the question.
If you're still stuck after this, I or someone else will gladly help you further! Hope this helps
