Find the real and imaginary parts of an equation 
Find the real and imaginary parts of $\frac{1}{3z+2}$

So I have expanded it out to get $\frac{1}{3x+3iy+2}$ 
Thus giving $Re(\frac{1}{3z+2})=\frac{1}{3x+2}$ and $Im(\frac{1}{3z+2})=\frac{1}{3y}$
However in my answer book it says: $Re(\frac{1}{3z+2})=\frac{3x+2}{(3x+2)^2+9y^2}$ and $Im(\frac{1}{3z+2})=\frac{-3y}{(3x+2)^2+9y^2}$
Is the book incorrect/outdated or if not could someone explain how to gain these answers, thanks

Note quite, remember that $\frac{1}{a} + \frac{1}{b} \neq \frac{1}{a+b}$. In general, the real and imaginary part of $z$ is $x$ and $y$ where $z = x+iy$. That is, you must seek to turn your expression for $z$ into the form $x+iy$. You can then multiply $\frac{1}{3x + 3iy + 2}$ with a fraction that consists of its conjugate on the numerator and denominator. In general $$\frac{1}{a+ib} = \frac{a-ib}{(a+ib)(a-ib)} = \frac{a-ib}{a^2 + b^2}.$$
In your case, try $$\frac{1}{(3x+2) +3iy} \times \frac{(3x+2) - 3iy}{(3x+2) - 3iy} = \frac{3x+2 - 3iy}{(3x+2)^2 + 9y^2}$$
