The answer is 21.
All you have to do is answer the following question:
What times 8 is equal to 24?
24/8=3 so 8*3=24
The answer to the question is 3.
Now, if you multiply 8*3 to get 24, then you must multiply 7*3 to get your numerator
7*3=21
Hope this helps :)