Since, the alkyl halide RX gives 4, 5-diethyloctane, when reacts with Na, it must be
$ C{{H}_{3}}{{(C{{H}_{2}})}_{2}}CH(Br)C{{H}_{2}}C{{H}_{3}}. $ $ 2C{{H}_{3}}C{{H}_{2}}C{{H}_{2}}\underset{\begin{smallmatrix} | \\ C{{H}_{2}}C{{H}_{3}} \end{smallmatrix}}{\mathop{CH}}\,-Br\xrightarrow[Dry\,ether]{Na} $ $ C{{H}_{3}}{{(C{{H}_{2}})}_{2}}\overset{\begin{smallmatrix} C{{H}_{2}}C{{H}_{3}} \\ | \end{smallmatrix}}{\mathop{CH}}\,-\overset{\begin{smallmatrix} \,\,\,\,\,\,C{{H}_{2}}C{{H}_{3}} \\ | \end{smallmatrix}}{\mathop{CH}}\,-{{(C{{H}_{2}})}_{2}}\,-C{{H}_{3}} $
This reaction is known as Wurtz reaction.