Hey!
We could write the problem like this,
[tex]\frac{7}{8}=\frac{21}{x}[/tex]
Cross multiply!
[tex]7x=8\cdot \:21[/tex]
We know that [tex]8\cdot \:21=168[/tex], let's plug that in.
[tex]7x=168[/tex]
Divide both sides by 7.
[tex]\frac{7x}{7}=\frac{168}{7}[/tex]
Our final answer would be,
[tex]x=24[/tex]
Thanks!
-TetraFish