Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:6/8
K:G
['A B2 G', 'G2 d dBd def g3 g2 B'  
X:1
L:1/8
M:6/8
K:G
 D | G2 G FED | E2 F G2 A | B2 G c2 A | B2 G cBA | Bcd EGE | FGA DFD | GFE AFD | G3 G2 :: d | 
 dBd def | g3 g2 B | cAc cdc | e3 e2 d | dcB c2 A | Bcd D2 D | EFG AFD | G3 G2 :|  