Develop melodic phrases by utilizing the given motif and following the predetermined musical arrangement.
X:1
L:1/8
M:2/2
K:G
['d2 ed', 'A2 (3Bcd ef g3 e |1 dBAc'  
X:1
L:1/8
M:2/2
K:G
 DGBG AGBG | DGBG AGEG | DGBG AGAB |1 d2 ed BGGE :|2 d2 ed BGGA || Bdd^c d2 ef | g2 fg eA A2 | 
 (3Bcd ef g3 e |1 dBAc BGGA :|2 dBAc BGGE ||  