To "rationalize the denominator" is another way to say, getting rid of that pesky radical at the bottom.
we'll simply start by multiplying top and bottom by the "conjugate" of the denominator, recall difference of squares, anyhow, let's do so
30 because the original ratio would be 16 to 14 but that reduces to 8 to 7 and then you just double the 7 to get 14 and then you add 16 and 14 together to get the total number of horses and elephants.