If the distance of point (5, 0) to (3, 2) is twice the distance of (5, 0) to (7, n + 1). Find the value of n.