Develop melodic phrases by utilizing the given motif and following the predetermined musical arrangement.
X:1
L:1/8
Q:3/8=118
M:9/8
K:D
['ABA A2 G', 'ABA fed'  
X:1
L:1/8
Q:3/8=118
M:9/8
K:D
|: ABA A2 G FED | ABA c2 d e3 | ABA A2 G FGA | fed edc d3 :: ABA fed ecA | ABA fed e3 | 
 ABA fed ecA | dAG F2 c d3 :|  