If the centroid of the triangle formed by the points (3, -5), (-7, 4), and (10, -k) is at the point (k, -1), what is the value of k?