Answer
See explanation
Work Step by Step
a. First, draw the structure of n-octyl acetate and divide the molecule into two parts. first part is $CH_{3}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}-O-$ which must be come from alcohol and the alcohol should be $CH_{3}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}-OH$. The second part is $CH_{3}CO-$ which must be come from acid and the acid should be $CH_{3}COOH$ . So, the starting materials for synthesis of n-octylacetate are: $CH_{3}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}CH_{2}-OH$ and $CH_{3}COOH$.
b. First, divide the molecule into two parts. first part is $CH_{3}CH_{2}CH_{2}CH_{2}CH_{2}-O-$ which must be come from alcohol and the alcohol should be $CH_{3}CH_{2}CH_{2}CH_{2}CH_{2}-OH$. The second part is $CH_{3}CH_{2}CO-$ which must be come from acid and the acid should be $CH_{3}CH_{2}COOH$ . So, the starting materials for synthesis of the desired product are: $CH_{3}CH_{2}CH_{2}CH_{2}CH_{2}-OH$ and $CH_{3}CH_{2}COOH$.