Here, "x" and "y" are your variables. So, by "separation of variables", it means that one has to bring all the "x"s to one side of the equation, and all the "y"s to the other side (Technically speaking, this is not what is actually happening, since then you would be integrating a different variable on both sides of the equation, which does not make any sense. However, let's just put this aside for now, and solve the problem. Maybe we can discuss it in a subsequent post).
You have not done the above in your first step. All you have done is, treat the expressions (x2 + 6x + 12) and (y2) as constants, and you took them out of the integral sign. However, this is incorrect, as these expressions involve the variables "x" and "y" and hence can't be taken out of the integral.
The first step would be to divide both sides by (x2 + 6x + 12) (y2). Then, you would get dy/y2 = dx/(x2 + 6x + 12). Now, you have "separated" both the variables and all you need to do is integrate both sides. Can you take it from here?