Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:C
['(F2 D){A} (G2 E)', 'GFG ABA cAG (Ad)d d2 e fed'  
X:1
L:1/8
M:4/4
K:C
[M:6/8][K:D] .abc{G} (F2 D){A} (G2 E) | AGE .E.D.D |{G} (F2 D){A} (G2 E) | (AGE) d2 z | 
{G} (F2 D){A} (G2 E) | (AG.E) .E.D.D | (D=cA) GFE |{G} (FD).D{F} (ED).D :: ABA AGF | GAG GFG | 
 ABA cAG | (Ad)d d2 e | fed cAG | FGF GFE | cdA GFE |{G} (FD).D{A} (ED).D :|  