Yellow: 25.71% chance of you grabbing a yellow jelly bean
Green:34.29% chance of you grabbing a green jelly bean
Red: 40% chance of you grabbing a red jelly bean
Not 100% sure but it might be B
(x - 10)² is the graph x² by translation of 10 units moved to the right.