Equation of a hyperbola from features

Given some features of a hyperbola, find its equation.

Problem

Write the equation of the hyperbola graphed below, whose vertices and foci marked.