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:3/8
K:G
['g2 d/e/ dcB', 'e/f/ gfg']  
X:1
L:1/8
M:3/8
K:G
 g2 d/e/ | dcB | ABc | B/A/B/c/B | g2 d/e/ | dcB | ABc | B3 :: gfg | d2 e/f/ | gfg | e2 e/f/ | 
 gfg | dcB | ce/c/A/F/ | G3 :|  