Each of the points in the figure below represents a different digit from to . Each of the five lines shown passes through some of these points. The digits along each line are added to produce five sums, one for each line. The total of the five sums is . What is the digit represented by ?
1
2
3
4
5