Answer :
x = boys
y = girls
x + y = 40 (in a class there are 40 students)
x = y + 10 (there are 10 more boys than girls in the class)
y = girls
x + y = 40 (in a class there are 40 students)
x = y + 10 (there are 10 more boys than girls in the class)