That's a quadratic, a nice parabola in vertex form.
The parabola has a positive x^2 term, so it's a CUP, concave up positive. It will have a minimum at the vertex, which is (2,5). Plot that point.
Now we need a couple of guide points to draw the usual parabola going up from both sides of its vertex. We try x=0 giving (0,9) and see that x=4 also gives 9, (4,9). Plot the parabola through those two points and the vertex and you're done.
I think the answer is 1.06666666667
So in total, there are 7 marbles, (3 black + 4 red = 7 total marbles) and we want to find out how much black marbles are able to come out. So it would be 3/7. :)
x
Grab some paper, a pencil, and a ruler. Make a 6 by 6 square