In a school play, the total number of students participating is 24. The number of boys is represented by b and the number of girls is represented by g. If there are 6 more boys than girls, which of the following equations represents this situation?
Additionally, what is the value of g?