SOA sample question 48

Can anyone help explain question 48? There seem to be a bunch of typos in the solution from the SOA. Thanks

"You are given the following joint distribution:
 Theta
X | 0 1
0 |0.4 0.1
1 |0.1 0.2
2 |0.1 0.1
For a given value of Theta and a sample of size 10 for X:
X_bar = 10/10
 Calculate the Bühlmann credibility premium."

If the question is not clear due to the lack of formatting. Theta can be 0 and 1. X can be 0,1, or 2. The probabilities of each combo are in the table.


SOA sample question 48