Hi, I hope you all are well in this pandemic times.

I have a problem with one political exercise. For example, if I have three different meetings with politicians because we want to make agreements about trade tax. Each trade agreement possibility can achieved (success = 1) or not (failure = 0). So the probability to make an agreement is 0.5

What is the sample space?

What would be the expected value of the mean and variance of this distribution?

What would be the probability that deals will be achieved at each meeting and it will not achieved an agreement?

I know how to respond this exercise in a manual way, but I don't know how to use R studio. I really appreciate if you can help me with some commands.