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:G
['G3 E DGBG', 'B3 d g2 fg egdB']  
X:1
L:1/8
M:4/4
K:G
|: B3 A G3 E | DGBG DG (3Bcd | eged ed (3Bcd | e2 dg edBA | ABBA G3 E | DGBG DGBd | e3 d efga | 
 gedc BG G2 :: g3 d B3 d | g2 fg egdB | eAAG A2 (3Bcd | eA A2 BG (3Bcd | gagd B3 d | g2 fg egdB | 
 e3 d efga | gedc BG G2 :|  