A question in my text asks to classify the surfaces by comparing them with the standard equations of quadric surfaces. My problem is I can't figure out how to get these equations into the standard form of quadric surface equations. Can someone please tell me the answer to this and explain how to do it? Thanks in advance.

surface 1: $\displaystyle x^2+2y^2-z^2+3x=1$

surface 2: $\displaystyle 2x^2+4y^2-2z^2-5y=0$