Draw the displayed formula for each of the two molecules.
You'll then be able to see the number of alkyl groups to which the carbon holding the alcohol group connects.
If it connects to one alkyl group (eg, CH2, or CH3) as well as the alcohol, it's primary.
If it connects to two alkyl groups as well as the alcohol it's secondary.
If it connects to three alkyl groups as well as the alcohol it's tertiary.