contestada

a bag contains 24 pieces of blue tshirts,10 pieces of green tshirts and x pieces of yellow tshirts. a tshirts is picked at random from the bag.
1)if the probability of choosing a blue tshirts is 2/5,find the value of x.
2)calculate the number of yellow tshirts that should be put into the bag so that the probability of choosing a yellow tshirts is 1/2.