The foci of the hyperbola is
and
.
Since
- coordinates of the foci are same the transverse axis of the hyperbola is horizontal.
Standard form of horizontal hyperbola is
.
The center of the hyperbola is midpoint of foci
and
.
Center of the hyperbola is
.
Asymptotes of the hyperbola is
.
Slope of the asymptote is
.
.

.
Substitute
,
and
in
.

Thus, equation of hyperbola is
.
Equation of hyperbola is
.