Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:C
['DGGA BGAF DEFd cFAF DGGA Bcdg (3(fed)', 'gd (3.g.g.g gbag']  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:G]SOSOO .!fermata!PMTuCO(MGF)"^Segno" | DGGA BGAF | DEFd cFAF | DGGA Bcdg | 
 (3(fed) (3(cBA) BGAF | DGGA BGAF | DEFd cFAF | DGGA Bcdg | (3(fed) (3(cBA) BG"^Fine^" G2 || 
 gd (3.g.g.g gbag | gc (3.c.c.c fgaf | gd (3.g.g.g gbag | (3(fed) (3(cBA) BGBd | gd (3.g.g.g gbag | 
 fdef gfga | (3(bag) (3(gfe) (3(fed) (3(efg) | (3(fed) (3(cBA) BGA"^D.S. al Fine^" F |]  