A function is defined by f(x), value given when f(-2)=9? Hence find f(x)=0?

Find the value of #f(x)=2x^2 +ax-5#
When #f(-2)=9#

This is my answer: #f(-2)=2(-2)^2 +a(-2)-5#
#=8+(-2a)-5#
#=8-2a-5#
#=3-2a#

Therefore:
#9=3-2a#
#=3-(-2*3)#
#=3+6#
#=9#

Therefore:
#a=3#


Hence solve #f(x)=0#

I'm a little doubtful here, I believe what I must do is factorise #f(x)#

#f(x)=2x^2+ax-5# --- if #a=3#
#=2x^2+3x-5#
#=2x^2+5x-3x-5#
#=x(2x+5)-(x-1)#
#=(2x+5)(x-1)=0#


What have I done wrong? Any help, notes or correct workings?

Thank you.