Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
M:6/8
K:D
['ABA AFD FGF FEF', 'A2 B d2 f'  
X:1
L:1/8
M:6/8
K:D
 ABA AFD | FGF FEF | ABA BAG | EFE dcB | ABA AFD | FGF FEF | DED FEF | ABA dcB :: A2 B d2 f | 
 e2 d BAG | A2 B d2 f | ede fdB | A2 B d2 f | e2 d BAF | ABA AGF | AFE dcB :|  