Find the equation of the hyperbola if the transverse axis of the hyperbola is parallel to the y‑axis, the vertices of the hyperbola are on a rectangle with vertices (−2, 2), (−2, −1), (6, −1), and (6, 2), and the diagonals of the rectangle are on the asymptotes of the hyperbola.