A line on the coordinate plane passes through the points (7, -5) and (3, 11). A line that is perpendicular to the first line passes through the points (-3, -9) and (5, n). Find the value of n.