Bivariate distribution with normal conditions Define the joint pdf of $(X,Y)$ as:
$$f(x,y)\propto \exp(-1/2[Ax^2y^2+x^2+y^2-2Bxy-2Cx-Dy]),$$
where $A,B,C,D$ are constants.
Show that the distribution of $X\mid Y=y$ is normal with mean $\frac{By+C}{Ay^2+1}$ and variance $\frac{1}{Ay^2+1}$. Derive a corresponding result for the distribution of $Y\mid X=x$.
Attempt:
I tried to integrate the equation w.r.t. $x$ in order to find $X\mid Y=y$. However, I'm not sure if I am correct:
$$\int_{-\infty}^{\infty}\exp(-1/2[Ax^2y^2+x^2+y^2-2Bxy-2Cx-Dy])\,dx$$
$$ =\left[\frac{\exp[-1/2[Ax^2y^2+x^2+y^2-2Bxy-2Cx-Dy]}{-Axy^2-1/2+By+C}\right]_{-\infty}^{\infty}$$
Whatever the value of the previous integration (call it "Q"), then we would divide the original equation by "Q", i.e.:
$$ \frac{f_{X,Y}(x,y)}{Q}$$
Which would give us $f_{X\mid Y=y}(X\mid Y=y)$.
How do I go about evaluating 
$$ =\left[\frac{\exp[-1/2[Ax^2y^2+x^2+y^2-2Bxy-2Cx-Dy]}{-Axy^2-1/2+By+C}\right]_{-\infty}^{\infty}\text{ ?}$$

You would need to integrate out $y$, not $x$, to get a marginal density that is a function of $x$.
What you have inside of $\exp\left(\dfrac{-1}2\left(\bullet\bullet\bullet\right)\right)$ is
$$
Ax^2y^2+x^2+y^2-2Bxy-2Cx-Dy.
$$
Think of how this behaves as a function of $x$.  You want
$$
\left(\frac{x-\mu}\sigma\right)^2 + (\text{something not depending on $x$}).
$$
You need to figure out what $\mu$ and $\sigma$ are.  The standard method in algebra for this sort of thing is completing the square.
\begin{align}
& Ay^2x^2+x^2+y^2-2Bxy-2Cx-Dy \\[8pt]
= {} & (Ay^2+1)x^2 -2(By+C)x + \text{terms not depending on $x$} \\[8pt]
= {} & (Ay^2+1)\left(x^2 - 2\frac{By+C}{Ay^2+1} x\right) + \text{terms not depending on $x$} \\[8pt]
= {} & (Ay^2+1)\left(x^2 - 2\frac{By+C}{Ay^2+1} x + \left(\frac{By+C}{Ay^2+1}\right)^2\right) + \text{terms not depending on $x$} \\[8pt]
= {} & (Ay^2+1)\left(x - \frac{By+C}{Ay^2+1}\right)^2 + \text{terms not depending on $x$} \\[8pt]
= {} & \left(\frac{x - \frac{By+C}{Ay^2+1}}{1/\sqrt{Ay^2+1}}\right)^2 + \text{terms not depending on $x$} \\[8pt]
= {} & \left(\frac{x-\mu}{\sigma}\right)^2 + \text{terms not depending on $x$, if }\mu=\text{ what and }\sigma=\text{ what?}
\end{align}
