Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/2
K:Bmin
['fBBA FEFB', 'd2 fd Adfa bfaf', 'adfa bfaf'  
X:1
L:1/8
M:2/2
K:Bmin
 fBBA FEFB | A2 FB ABde | fBBA FEFB | ABBA B3 e | fBBA FEFB | A2 FB ABde | faaf effe |1 
 dBAF B3 e :|2 dBAF B3 c || d2 fd Adfa | bfaf effe | d2 fd Adfa | bfaf e3 f | d2 fd Adfa | 
 bfaf efde | fBBA FEFB | ABBA B3 c || dAdf a2 fa | bfaf effe | dAdf adfa | bfaf e3 f | 
 d2 (3fed adfa | bfaf efde | fBBA FEFB | ABBA B3 e ||  