Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:6/8
K:Dmix
['', 'GBd gdB', 'g2 d edB'  
X:1
L:1/8
M:6/8
K:Dmix
 D |: GBd gdB | d3 d2 c | B3 BAG | FAA AFD | GBd gdB | def g3 | edc BcA |1 AGF G2 D :|2 AGF G af |: 
 g2 d edB | d3 def | g2 d edB | ABA Aaf | g2 d edB | Gaf g3 | edc BcA |1 AGF G af :|2 AGF G2 z ||  