To answer this, you need to put both fractions on common footing.
In other words, you need to have a common denominator to compare the numerators, to see which is greater.
5/6 is equal to 10/12 and since 10/12 is greater than 7/12,
5/6 is greater than 7/12.