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:6/8
K:G
['DGG BGG AGG GBd efg dBG', 'f gfg efg edB def']  
X:1
L:1/8
M:6/8
K:G
 E |"^S" DGG BGG | AGG GBd | efg dBG | AGA BGE | DGG BGG | AGG GBd | efg dBG | AGG G2 :| f | 
 gfg efg | edB def | gfg eag | fdd d2 f | gfg efg | edB def |1 gfe dBA | BGG G2 :|2 gba gfe | 
 dBA BGE"^S" ||  