Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
['GABc defa g2 dc BG G2 FGAB', 'd2 dc dcBc defa'  
X:1
L:1/8
Q:1/8=150
M:2/2
K:G
 D/F/ | GABc defa | g2 dc BG G2 | FGAB cedc | BGAG F2 D2 | GABc defa | g2 dc BG G2 | FGAB cAGF | 
 DGGF G3 :| B/c/ | d2 dc dcBc | defa gedB | c2 cB cBAG | FGAB cAFA | d2 dc dcBc | defa gedc | 
 Bdgd cAGF | DGGF G3 :|  