Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['GEDE GABG ADBD cDBD GEDE GABd gedB', 'dgbg agbg'  
X:1
L:1/8
M:4/4
K:G
 GEDE GABG | ADBD cDBD | GEDE GABd | gedB AcBA | GEDE GABG | ADBD cDBD | GEDE GABd | gedB G3 B || 
 dgbg agbg | dgbg ageg | dgbg agbg | agba g3 e | dgbg agbg | dgbg ageg | bgaf gfed | gedB G3 A ||  