Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['', 'DGBG ABcd eece dcBd', 'ABcd egfa'  
X:1
L:1/8
M:4/4
K:D
 dc |: BGGG BGBG | DGBG ABcd | eece dcBd | cBAc BGdc | BGGG DGBG | ABcd eece | dcBd ceag |1 
 fdef g2 dc :|2[M:2/4] fdef |:[M:4/4] g2 dg Bgdg | Bgba gfed | eaaa eafa | eafa gfed | ef g2 ddBd | 
 bagf edcB |1 ABcd egfa :|2 ABcd egfa |[M:2/4] g2 d c ||  