Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['B G2 GA Bded B2 BA GE', 'GABd egfa'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 B | G2 GA Bded | B2 BA GE E2 | BGAF GABd |1 egfa ged :|2 egfa g2 || ga | g3 a bgaf | gabf gfed | 
 B2 BA GABd | egfa gfed | g2 ga bgaf | gaba gfed | BdGd GABd | egfa gfed ||  