Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
['gab agf g2 d B2 G cde', 'd3 D2 E F2 G A2 B'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
|: gab agf | g2 d B2 G | cde dcB | (AB)G F2 D | G2 B- B^cd | ^cde cAc | def ge^c | d3 d3 :: 
 D2 E F2 G | A2 B cBA | G2 A B2 c | d2 e =fed | e2 f gag | fdB c2 e | dcB cAF | G3 G3 :|  