Ratio And Proportion

The ratio of boys to girls in 5th year is 2:5 if there are 140 pupils in total, how many boys and girls are there?

b)if The ratio of boys to girls in 3rd year is 5:4 , how many girls would there be when there are 120 boys?