Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['AB B2', 'f2 af'  
X:1
L:1/8
M:4/4
K:Bmin
|: AB B2 dB B2 | FBBc dBAF | AB B2 ABde | faef edBA | AB B2 dB B2 | FBBc dBAF | AB B2 ABde | 
 faef edBA :: A2 ag fede | f2 af f2 af | fg g2 fede | faef edBA | A2 ag fede | f2 af f2 af | 
 fg g2 fede | faef edBA :|  