How to prepare haloalkanes?

Can you answer this question?