Let's represent the number of girls with the variable g and the number of boys with the variable b.
Then since there are a total of 26 students , we can write the following equation:
b + g = 26
Next, there are 2 more boys than girls so we can write the following equation: b = g + 2
Now we can use substitution to solve these two equations with two unknowns.
Substitute g + 2 for b in the first equation:
b + g = 26
g + 2 + g = 26
Now combine like terms and use inverse operations to solve f or the variable g:
2g + 2 = 26
2g + 2 - 2 = 26 - 2
2g = 24
2g/2 = 24/ 2
g = 12
There are 12 girls.
There will be 14 boys because the total number of students is 26.