The joint probability states how likely both events are to happen simultaneously. In this case, I would try to list all of the outcomes that are possible:

You can have

(x1 = 0, x2 = 0)

(x1 = 1, x2 = 0)

(x1 = 0, x2 = 1)

(x1 = 1, x2 = 1)

The next step would be to find out how likely these events are to occur. When I see things being done in order, I think "Bayes's Rule" For example:

P(x1 = 0 and x2 = 0) = P(x2 = 0 given x1 = 0) * P(x1 = 0)

The second part, P(x1 = 0) is simply the probability of drawing a blue marble on the first draw. This is 7/12 since there are 7 blue marbles and 12 marbles total.

If the first draw yields a blue marble, then the probability of drawing another blue is 6/11 since there are only 6 blue marbles remaining and only 11 total. So,

P(x2 = 0 given x1 = 0) = 6/11

Put this together, and:

P(x1 = 0 and x2 = 0) = (7/12) * (6/11) = 0.318

You can follow this exact process for the other three possibilities and write the joint probability function as:

f(x1, x2) = {0.318 when x1 = 0, x2 = 0

????? when x1 = 1, x2 = 0

... and so on}

You may also solve this problem using combination notation by enumerating the number of ways that each of the events could happen, and divide that by the total number of ways that the 4 seperate events could happen.

You can also solve this problem using combinations. If this is desired, please specifiy in another question.

Hope this helps,

~Matt