The number of boys = 8
The number of girls = 26
Let the number of boys = x
The number of girls = y
According to the question:
x + y = 34
y = 3x + 2
From x + y = 34, y = 34 - x.
So,
[tex]34-x=3x+2\\4x=32\\x=8[/tex]
So, y = 34 - x= 34 - 8 = 26
Solving them we get: x = 8, y = 26.
Learn more: https://brainly.com/question/8806877