No clarity with the question!

what are the x and y values for which we are required to plot the bar graph.It is referred to as classes in the question …what does classes refer to here??