There's 12 all together
There's 7 shaded
Fraction is 12/7
The numerator is 12 because the number in the whole box is 12 the bottom is 7 because that's how much is shaded. Multiply the fractions to find the relationship between the shaded boxes and the total number of boxes.