So basically my teacher decided to give us only one problem for homework but its something he hasn't taught us yet...

He wants us to convert this equation:

$\displaystyle x^2+9y^2-4x+54y+49=0$

into:

$\displaystyle (x-h)^2/a^2+(y-k)^2/b^2=1$

I tried bringing the 49 to the other side and dividing everything by it but didn't know what to do from there. Please help.