First determine the number of carbons and hydrogen in the longest continuous carbon chain. Second, determine the number the side chains and then add the number of carbon and hydrogen atoms in these side chains to the number you found in the longest chain.