Answer :
Total carbons are in the structure = 13
Primary carbons are in the structure = 5
Secondary carbons are in the structure = 6
Tertiary carbons are in the structure = 1
Quaternary carbons are in the structure = 1
Explanation :
Primary carbon : It is a carbon atom that is bound to only 1 carbon atom.
Secondary carbon : It is a carbon atom that is bound to 2 carbon atom.
Tertiary carbon : It is a carbon atom that is bound to 3 carbon atom.
Quaternary carbon : It is a carbon atom that is bound to 4 carbon atom.
As we are given the name of compound is, 2,2-dimethyl-4-propyloctane.
In this compound, eight carbon are align in a straight line, two methyl group are attached at 2nd position of the carbon in main chain and a propyl group that is three membered carbon chain is attached at 4th position of the carbon in main chain.
The given compound skeletal structure is shown below.