Use the graph to find P and Q then input it into the table.
Next for ii find the middle value of each class interval (in blue below).
Multiply the Middle Value to its corresponding frequency :
5 x 12 = 60
15 x 34 = 510
etc.
You see the above values in red ? Add those up to get 7220 and divide it by 200 (just add 12+ 34+ 36+ 30+ 38+ 30+ 16 + 4)
You will get a mean of 36.1 I think.
Is that correct ?