Generate music by following the outlined musical form presented using letters and incorporating the provided motif.
X:1
L:1/8
M:6/8
K:G
['B2 B', 'aga f2 d']  
X:1
L:1/8
M:6/8
K:G
 D | GFG B2 B | c2 c e2 e | d2 d B2 B | cBc B2 D | GFG B2 B | c2 c e2 e | d2 d cBA | G3 G2 :: b | 
 aga f2 d | g2 g dgb | aga f2 d | g3 d2 d | e2 e fef | g2 g d2 d | ece d2 B | G3 G2 :|  