Answer:
given below
Explanation:
given that he has 15 marbles in a bag: there are 3 green marbles, 7 red marbles and 5 yellow marbles.
To play a round of the game,a player randomly takes out a marble from the bag, notes the color and replaces it, then pulls a second marble from the bag and notes the color.
P(Green) =

P(Red) =

P(Yellow) =

since each time replaced the prob for I and II draw remains the same.
X=the random variable that describes the number of points won by a player playing a single round of Geoff's marble game.
If best he drawn 2 green there x=10, the worst is he draws two yellow and loses 4, if two red gain is 4 points
The different ways are 2 green, 2 red, 2 yellow, (1r,1g) (g,y) (y,r)
Events (y,y) (y,r) (y,g) (r,r) (r,g) (g,g) -- 6 number of ways
X = -4, 0 3 4 7 10
Pr 0.111 0.312 0.133 0.218 0.186 0.04
Whenever we have y,r i.e. change of colour we multiply by 2 because it can be y,r or r,y
The above is pdf of X