Probability of people liking comedy movies = 1/6
Hence,
If total number of people are 90, then the number of people liking comedy movies = 90/6 = 15
If total number of people are 180, then the number of people liking comedy movies = 180/6 = 30
If total number of people are 270, then the number of people liking comedy movies = 270/6 = 45
If total number of people are 360, then the number of people liking comedy movies = 360/6 = 60
Let the x-axis represent the total number of people and,
The y-axis represent the number of people liking comedy films.
The function will be :-
f(x) = x/6 , where x is the total number of people.
The graph is attached.