Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:2/2
K:G
['G2 G2 FGAF G2 FG AdcA GBAG', 'dg g2'  
X:1
L:1/8
M:2/2
K:G
 F2 | G2 G2 FGAF | G2 FG AdcA | GBAG FGAg | fdcA d2 cA | G2 G2 FGAF | G2 FG AdcA | GBAG FGAg | 
 fdcA d2 cA || dg g2 fgag | dg g2 agfe | dg g2 fgag | fdcA d2 cA | dg g2 fgaf | dg g2 a2 ga | 
 bgaf gbag | fdcA d2 cA ||  