You have to calculate:
To divide two fractions you have to determine the reciprocal fraction of the divisor, to do so, invert the numerator and denominator:
Then multiply the dividend by the reciprocal fraction:
Finally, you have to simplify the result, both "24" and "40 are divisible by 8, so to simplify the result you have to divide the numerator and denominator by 8:
The result of the division is 3/5