Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:6/8
K:D
['AGF G2 A', 'fdB ABd'  
X:1
L:1/8
M:6/8
K:D
 AF | D3 DdB | AGF G2 A | BGG AFD | E3 E2 A/F/ | D3 d2 B | AGF G2 A | BGB AF/G/A | D3 D :: de | 
 fdB ABd | efg fed | fdB ABd | fee e2 d/e/ | fdB ABd | ef/e/d eag | fdB Ade | fdd d :|  