Find the coordinates of the orthocenter of a triangle with vertices at each set of points on a coordinate plane.
a. (0,0). (8,4), (4,22)
b. (2,4), (9,11), (3,17)