we know that
Ratio is the quantitative relation between two numbers
so
Let
x-------> number of boys in the class
y-------> number of girls in the class

in this problem we have

Find the ratio
substitute the values in the formula

Divide by
both numerator and denominator

therefore
the answer is
the ratio of boys to girls is
