We have to complete the square. First, move the 15 to the other side by subtracting it out.
x2 + 10x = -15
Now, take half of 10, square it, and add it to both sides.
x2 + 10x + 25 = -15 + 25
Now take that half of 10, throw it with the x in parentheses, and square the whole shebang (because x2 + 10x + 25 = (x + 5)2)
(x + 5)2 = 10
f(x) = (x + 5) - 10