Points A (2,7), B (10,1), and C (8,y) are plotted on a graph. The slope of the line joining C to the midpoint of line AB is -20. Determine the value of y.