1).Use the substituion x=a(sec(u))
2). To integrate sec(u) with respect to u note that d/du{sec(u)+tan(u)}=sec(u)[sec(u)+tan(u)], hence multiplying sec(u) by {sec(u)+tan(u)}/{sec(u)+tan(u)} will make things nice.
3). To transform the result from the variable u to x, draw up a right angled triangle
4). Use log-laws to reduce the expression so that all constants (i.e. terms that do not involve x) come under the constant of integration
Have a go. If you're still stuck, i'm sure many will help further.