Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
['GDGB dBGB cBce dBGB', 'gdBd GdBd'  
X:1
L:1/8
Q:1/4=120
M:2/2
K:G
 BA | GDGB dBGB | cBce dBGB | cdec BGdB | BAAA AcBA | GDGB dBGB | cBce dBGB | dgfe dcBA | 
 G2 G2 G2 :: ef | gdBd GdBd | gdBd GdBd | cece BdBd | ADAB AcBA | GDGB dBGB | cBce dBGB | 
 dgfe dcBA | G2 G2 G2 :|  