Construct melodies using the designated musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:D
['A,DF A,DG', 'A (3AAA'  
X:1
L:1/8
M:6/8
K:D
|: A,DF A,DG | A,DF EDB, | A,DF A,DG | F (3GFE DCB,A,DF A,DG | F3 ABc | dAF EFE |1 D D2 DCB, :|2 
 D D2 D (3EFG |: A (3AAA Bcd | A (3AAA AFG | A (3AAA Bcd | DEF E2 D | A (3AAA Bcd | A (3AAA ABc | 
 dAF EFE |1 D D2 D (3EFG :|2 D D2 DCB, ||  