Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:6/8
K:G
['A B2 B']  
X:1
L:1/8
M:6/8
K:G
 D | (3(GGG) G3 A B2 B (3(BAG) | D4 B,2 D4 D2 | (3(GGG) G2 A B2 B (3BAG | d4 B2 D4 B2 | 
 (3(ddd) d B c2 c c2 BA | (3(BBB) B2 G A2 F D2 Bc | d4 D4 A4 D4 | G4- G4 :|  