To find the mean, multiply each value by the number of occurrences. Sum those products and then divide by the total number of occurrences.
Value #Occurrences value*occurrences
1 6 6
2 4 8
3 2 6
4 5 20
5 8 40
6 5 30
30 110
110 / 30 = 3.67 rounded to two decimal places
Expected value is another name for mean, to the expected value is also 3.67.