so u would have to put the other numbers in fractions to find the missing piece...
5/x
8/24=1/3
a/27
since 8/24 equal 1/3 we know that the common fraction is 1/3
so in order to get the fractions to equal 1/3, we must plug in a 15 for x and 9 for a
5/15=1/3
8/24=1/3
9/27=1/3
so the final answer is x=15 and 1=9
hope this helps if it doesn't please let me know :)