The vertices of the hyperbola is and
.
Since - coordinates of the vertices are same the transverse axis of the hyperbola is horizontal.
Standard form of horizontal hyperbola is .
The center of the hyperbola is midpoint of vertices and
.
Center of the hyperbola is .
Length of the conjugate axis of a hyperbola is units.
.
Distance between one of the vertices to the center
is
.
Substitute ,
and
in
.
Thus, equation of hyperbola is .
Equation of hyperbola is.