Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['A BGGB cBAG GFDE FEFD DGGA BABc', 'bgaf gfdc ABcA'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 A | BGGB cBAG | GFDE FEFD | DGGA BABc | gdcA BGAF | G2 BG cBAF | DGGB AGFD | dfe^c d=cAF | 
 DGGF G3 :| f/g/ | addc gdcA | dgfa g2 ga | bgaf gfdc | ABcA G2 fg | addc gdcA | dggf gfga | 
 bgaf gfdc | ABcA G3 :|  