The square root of -7 is not a real number. (IOW, it is impossible to square a real number and get -7). Since you posted this under the "real number" category then I assume you only want real number solutions. If so, the answer is: f(-2) is undefined. Or: -2 is not in the domain of f.
On the other hand, if you are looking for complex number solutions, then...
or
or, in a + bi form:
In response to the question in your thank you note: Algebra.com's website has a syntax which can be used Mathematical expressions. If you click on the "View Source" link just above this solution and you will see what I typed to get square roots displayed.