I have two question on an assignment of mine that I just can't seem to figure out, can you help me?

Write an equation of a hyperbola with vertices (1, 4) and (-5, 4), and foci (3, 4) and (-7, 4).

and

Write an equation of a hyperbola with vertices (8, 2) and (-4, 2), and foci (12,2) and (-8, 2).

Thanks in advance.