Determine the formula, then the molar mass of each compound. Determine the mass of hydrogen in each formula. The mass of hydrogen divided by the molar mass of the compound (with the result multiplied by 100%) will give the mass percent hydrogen. Ranking, based on the percents, is easy.
The hydrogen percentage decreases in the following order:
Ethane > Propane > Cetyl palmitate > Ethanol > Benzene