Create tunes based on the provided musical pattern and the specified motif.
X:1
L:1/8
M:2/2
K:D
['D2 DG (FE)DF (AB)AF', 'afdf edcd efge'  
X:1
L:1/8
M:2/2
K:D
 A,2 | D2 DG (FE)DF | (AB)AF Acdc | (TBA)Bc (dB)AF | (EG)FD (TED)B,E | D2 DG (FE)DF | 
 (AB)AF (Ac)dc | (Bd)ce (dB)AF | EGFE D2 !fermata!x || (eg) | fddf afdf | edcd efge | fddf afdf | 
 edef d2 (3(ABc) | defg afdf | edcd efge | (3(fga) (ec) dBAF | G2 (FD) EDB,E ||  