Foci of a hyperbola from equation