Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
['D2 D B2 B ABc B2 A', 'G2 G'  
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
 D2 D B2 B | ABc B2 A | BdD G2 G | ABc B2 A :: B2 c ded | c2 B A2 D | G2 G F2 F | E2 E D2 c | 
 BdD G2 G | ABc B2 A | BdD G2 B | cBA G3 :|  