Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['f2 f edB AFD DEF G2 A', 'B2 B dcB'  
X:1
L:1/8
M:6/8
K:D
|: f2 f edB | AFD DEF | G2 A BAF | ABA F2 e | f2 f edB | AFD DEF | G2 A BAF |1 Adc d2 e :|2 
 Adc d2 c |: B2 B dcB | cBA FGA | B2 B dcB | cde fec | B2 B dcB | cBA FGA | dcB cBA |1 Bcd edc :|2 
 Bcd eag ||  