In these questions, we have equivalent ratios given and we have to find the missing number .
For the first one, we have

Here the missing number is represented by x .
Dividing both 21 and 7 by 7,

That gives, x=3
For the second question, we have

Dividing both 72 and 12 by 12, we will get

That gives x=6