*****Yes Please, I also need this explanation****
My answer is 9.
I apologise if I am wrong, according to me,
if the relative frequency of rating 7 is 0.25 that means 28 is the total values of all the frequency because 7/28 = 0.25
So when we calculate the total value with x=0, the total value is 19
And when we calculate the total value with x=9, the total value is 28
So, I guess the answer is 9