Event A = marble is blue
Event B = marble is odd
We are trying to find probability marble is odd, GIVEN it is blue.
There are 4 odd blue marbles (1,3,5,7), so 4/12 marbles are blue and odd
There are 8 blue marbles so 8/12 marbles are blue
Trying to find P(B|A) = P(A and B)/P(A) = (4/12) / (8/12) = 1/2