Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:2/2
K:Bmin
['BA FBBA BABd cBAf ecBA FB{c} BA', 'dfed cAeg faec', 'bafb afec'  
X:1
L:1/8
M:2/2
K:Bmin
 BA | FBBA BABd | cBAf ecBA | FB{c} BA B2 (Bd) | cBAc B2 :| (!fermata!Bc) | d2 (dc) dfed | 
 cAeg faec | d2 (dc) defb | afec B2 (Bc) | dcdc dfed | cAeg faec | dcBc defb | afec B2 || (Bc) | 
 d>B (3(BBB) bafb | afec ABce | d>B (3(BBB) bafb | afec B2 (de) | fbbc' bafb | afec ABce | 
 dcBc defb | afec dBcA"_D.C." |]  