40 learners are going on a tour. The ratio of the number of boys to girls is 3:2. How many boys are in the group

There are 3x boys and 2x girls

3x+2x = 40

Now find x, and thus the boys and girls