Compose music that adheres to the given form and integrates the specified musical motif.
X:1
L:1/8
M:9/8
K:G
['B2{c} B', 'G A2'  
X:1
L:1/8
M:9/8
K:G
 d/c/ |:"G" B2{c} B BGB"Am" c2 A |"G" B2{c} B BGB"D" A2 G |"G" B2{c} B BGB"Am" c2{B} A | 
"G" d2 G GAB"D" A2 G ::"Am" A2 e edc"Bm" Bcd |"Am" e2 A ABc"D" BAG |"G" G2 g gfe"^(D7)" d[eB][fd] | 
"G" g2 G GAB"D" A2 G :|  