The rule
To divide by a fraction, multiply by its reciprocal. a/b ÷ c/d = a/b × d/c.
Many people remember this with the phrase "keep, change, flip": keep the first fraction, change ÷ to ×, flip the second fraction. This is a common memory aid, not an official rule. Make sure you flip only the divisor (the second number).
Why does it work? Dividing asks how many groups of the divisor fit. Each whole holds 5/2 groups of 2/5, so 3/4 of a whole holds 3/4 × 5/2 groups. You can also check with common denominators: 3/4 ÷ 2/5 = 15/20 ÷ 8/20 = 15 ÷ 8 = 15/8, the same answer as below.