Craft a musical work in accordance with the given alphabetical guide of the desired layout and the presented motif.
X:1
L:1/8
M:4/4
K:D
['ABdB ADFA', 'fd d2']  
X:1
L:1/8
M:4/4
K:D
|: B | AD D2 ABdB | ADFA BAdc | BEED E2 FA | B3 e dBAF | D2 (3EFG ABdB | ADFA defg | afge fdec | 
 Aceg fdd :: a | fd d2 adbd | ad d2 f2 gf | eA A2 cAeA | ceAc efga | fd d2 fdad | fade fgaf | 
 gfec Acef | gecd edd :|  