Here's a short explanation. Then I'll show you all the steps.
Think of this as a fraction divided by a fraction. The middle fraction line is the fraction line of the main fraction. The numerator of the main fraction is a fraction. The denominator of the main fraction is a fraction. To divide a fraction by a fraction, multiply the first fraction by the reciprocal of the second fraction.