Create tunes following the given musical pattern and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:C
['BEA |[M:2/2][K:D]SOSOO .!fermata!PMTuCO(MAc) dB (3(BBB) (cB)cA dcdA', 'fefg a2', 'dcdA BdAF'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:D]SOSOO .!fermata!PMTuCO(MAc) | dB (3(BBB) (cB)cA | dcdA FDFA | (3(ddd) (Bd) cBAF | 
 AGFD EFAc | dcBd cBcA | dcdA GFEF | (3(DDD) (FE) DFAF | GABc dcBc || dcde fefg | a2 (ab) agfe | 
 dcde fegf | efed cABc | d2 (de) fefg | a2 ab agfe | dB (3BBB (cB)cA | dAFD GABc || defe dcdA | 
 BdAF GABc | (3ddd (fe) defg | agab agfe | defe dcdA | BdAF GFEF | (3DDD (FE) DFAF | GABc d2 |]  