If A × B = {(–2, 3), (–2, 4), (0, 4), (3, 3), (3, 4), find A and B.