So this is a homework question, and I'm stuck. I'm also, to be perfectly honest, not quite sure where to start.
What I tried to do is take the square root of both $40$ and $a^2$ and I got $2\sqrt{10}\text{ } | \text{ }a$ and from here I could see that if I factored 40 before I took the square root and forced the result, then I could get $(\sqrt{4} * 10) | \sqrt{a^2}$ which would give me $20|a$, but that seems, to me, to be mathematically incorrect, as I would assume that I have to take the square root of everything...I also know that I can't just assume that $a^2$ would be divisible by $2$ as that was my next thought, but $9^2 = 81$ and so dividing by 2 just because seemed like an even worse idea...
I know I haven't really tried (with any success) anything to solve this, but any help would be greatly appreciated!