Write the IUPAC name of the following compounds

Write the IUPAC name of the following compounds.

3-chloro-5-fluoro-3,5-dimethylheptane
(ii) 2-chloro-3,3-dimethylbutane as a halogen is preferred over alkyl group while naming.