Answer:
When we are multiplying any two fractions, we do the following:

And when we are dividing two fractions, we do the following:

We solve such problems by multiplying but we take the reciprocal of denominator.
It will look like

So, basically we are multiplying in both conditions. This is why these are similar.