Using the combination formula, it is found that there are 4 ways in which both you and your friend can be chosen.
The order in which the people are seated is not important, hence the combination formula is used to solve this question.
What is the combination formula?
[tex]C_{n,x}[/tex] is the number of different combinations of x objects from a set of n elements, given by:
[tex]C_{n,x} = \frac{n!}{x!(n-x)!}[/tex]
In this problem, you and your friend are chosen, along with 1 more person from a set of 4, hence:
[tex]C_{4,1} = \frac{4!}{1!3!} = 4[/tex]
Hence option B is correct.
More can be learned about the combination formula at https://brainly.com/question/25821700
#SPJ1