If you learned English anywhere in Europe, it's most likely that you were taught an approximation of Received Pronunciation (standard British English), which is most similar to accents in the northeastern US for historical reasons.
* non-U RP (a less formal variant of British "Received pronounciation")
and
* GA ("General American", a blend of midwest and north eastern American accents).
The former is favored by Latin language family countries and the latter is favored by Germanic language family countries, simply because they better match the native language sounds.
In either case though... both of these are closer to "northeastern" than any other US accent.
Overall I think our teachers spoke a mixture of american and english dialects (and remnants of a German accent) that you could probably not put on a map.
Although I can see how the Mary, merry, marry could be the same. Some South Africans would pronounce the latter two identically although perhaps dissimilarly to how an American might pronounce all three the same.
Also, for the first 2/3 or so of the quiz, it's pretty much unfathomable to me how anyone could pronounce any of them the same.