Answer:
a) f(x,y) =
; x = 0, 1, 2; y = 0, 1, 2; 0 ≤ x+y ≥ 2
b) = 
Step-by-step explanation:
The joint probability describes how a random variable is distributed. For two random variables, X and Y, the joint probability is expressed as P(X = x, Y = y)
In the context provided,
X = The count of blue pens
Y = The count of red pens
a)
The combinations of (X, Y) are (0, 0), (0, 1), (1, 0), (1, 1), (0, 2), (2, 0)
Refer to the figure as well
The total number of ways to choose any 2 pens =
=
=28
f(x,y) =
; x = 0, 1, 2; y = 0, 1, 2; 0 ≤ x+y ≥ 2
b)
P(X,Y)∈A = P(X + Y ≤ 1)
= P(0,0) + P(1,0) + P(0,1)
=
+
+ 
= 