The vertices are and foci are
.
Observe vertices and foci, -coordinates are equal.
So, the hyperbola has a vertical transverse axis and its standard form is .
Where, is the center.
is the distance between center and vertex.
is the distance between center and focus.
.
By the midpoint formula, the center of the hyperbola is .
The distance between center and vertex is .
The distance between center and focus is .
Substitute the values of and
in standard form of the hyperbola.
The standard form of the hyperbola .