find the equation of a hyperbola with foci