in a class of 30 students there are 18 girls. what is the ratio of boys to girls in the class.

oh and how would i write the equasion to solve the problem