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=180
M:4/4
K:G
['dc BG G2', 'A2 Bd'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 dc | BG G2 AG G2 | DG G2 A2 dc | BG G2 AGAB | c2 Bc A2 dc | BG G2 AG G2 | DG G2 A2 dc | 
 BG G2 AGAB | c2 Bc A2 || Bd | e2 dg e2 dg | e2 dB A2 Bd | eB B2 gB B2 | (3cBA BG A2 Bd | 
 e^fgf ea a2 | gedB A2 Bd | egg^f gabg | age^f gedc ||  