there are 18 boys in a class. there are W less boys than girls. How many students are in the class?

18 + (18+w) = 36+w