If a gas is made up of 3 parts hydrogen and 2 parts nitrogen...how much percentage of hydrogen is the gas made up of? The answer says 60%, but I don't understand how the came up with the answer

3 parts hydrogen + 2 parts nitrogen = 5 parts total.

H = (3/5)*100 = 60%
N = (2/5)*100 = 40%.