Hello, thank you for taking the time to post your question!
The key on this type of question is to set up a relationship to relate the variables given. In this case if you use “g” to represent the number of girls in the class we know that
g + (g + 7) = 33 since boys = g + 7 and the total should be 33
from there then you want to combine like terms and solve for the value of “g” algebraically
2g + 7 = 33
2g = 26
g = 13
meaning that there are 13 girls in the class
I hope that helps you get moving in a better direction on this type of question! Feel free to reach out if you have any additional questions beyond that :)