I have to write a polynomial equation based on this info.

Then tell what conic the equation describes.

The distance from a point (x,y) to a fixed point (-3,0) is twice the distance form the point to another fixed point (3,0).

Here is what I did.

The distance from (x,y) to (-3,0) is d1

The distance from (x,y) to (3,0) is d2

d1 = 2* d2

Using the distance formula and doing the algebra I get x^2 - 30x + 3y^2 = 0.

The correct answer is x^2 + y^2 - 10x + 9 = 0 which is a circle.

Can someone please give me a hint for this. thanks.