Write an equation for the parabola with vertex (-5,1) and directrix x=-7/2?

I have the answer to this:

x+= -1/6(y-1)^2-5

but I have no idea how to get there :(
3 answers 3