I'm not sure if I'm supposed to find x, but that's what I'll do. I didn't really understand the question at all, but I'll answer what I think it is.
We can cross multiply to get the equation 2x^2+8x=x^2-25
Simplified, it looks like x^2+8x+25.
We can use the quadratic formula and find that x is -4+3i, -4-3i.
Please correct me if I'm wrong