To get started, expand the quadratic function:

Next take the first derivative, which represents the slope of the tangent line to the parabola at x:

fg' (x) = 2acx + (da + bc)

From here, you should be able to verify that a = -c and b +d = 1.

Good luck!