Compose tunes based on the given letter-based musical structure and the supplied motif.
X:1
L:1/8
Q:1/2=100
M:3/2
K:Gmin
['g4 bag^f g4 edcB AGFE DCB,A,', 'E2 C2']  
X:1
L:1/8
Q:1/2=100
M:3/2
K:Gmin
 g4 bag^f g4 | edcB AGFE DCB,A, | B4 GFED E2 G2 | cded cABc ^F2 D2 | g4 bag^f g4 | 
 edcB AGFE DCB,A, | B,2 G2 A,2 G2 G,2 ^F2 | GEDC B,GA,^F G,4 || f4 dBcA BFGE | E2 C2 E2 G2 c4 | 
 g4 ecdB cABG | ^F2 D2 F2 A2 d4 | d2 b2 BAGF E2 C2 | c2 a2 AGFE D2 B,2 | G,2 g2 ^fdec dAB^F | 
 GEDC B,GA,^F G,4 |]  