p00=0.4;
p01 = 0.2;
p10 = 0.1;
p11= 0.3;

pY1= p01+p11;
disp(p01/pY1, "Probability that X=0 and Y=1")
disp(p11/pY1, "Probability that X=1 and Y=1")