Total number of marbles = 24
Let x be the number of blue marbles in the jar.
P(getting a blue marble) = x/24
There are 2 types of marbles in the jar, blue and green.
P(getting a blue ball) + P(getting a green ball) = 1
(Because sum of probability = 1)
2/3 + x/24 = 1
(16+3x)/24 = 1
x = 4
There are 4 blue marbles in the jar.