I'm actually writing a program that works out a, b and c, but then needs to work out x given y. I probably used the wrong terminology to describe something along the way ^^
The answer I first wrote was generated by getting the equation in the form of:
y = (dx + e)^2 + f
and then working out...