Answer :
[tex]boys:girls=4:7\\\\girls=21\\\\therefore\\\\boys:21=4:7\\\\\frac{boys}{21}=\frac{4}{7}\ \ \ \ \ |cross\ myltiply\\\\7\ boys=4\times21\\\\7boys=84\ \ \ \ \ |divide\ both\ sides\ by\ 7\\\\boys=84:7\\\\\boxed{boys=12}[/tex]