The parent chain will be of 8 carbons. The funtional group is −OH, so the name of the parent chain will be octanol.
The numbering will start from left side, −OH will get number 3 and −CH3 will get number 6.
Therefore, IUPAC name is 6-Methyl-3-octanol.
Option B is correct.