Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:4/4
K:G
['D2 G4 G3 G G4 A2 c2', 'B/c/ dB g/e/ dBd', 'dB g>e dB GB cA FA'  
X:1
L:1/8
M:4/4
K:G
 D2 | G4 G3 G | G4 A2 c2 | B4 B3 B | B4 c2 e2 | e2 d2 B2 d2 | d2 c2 B2 A2 | G4 G4 | G6 :: 
[M:3/4] B/c/ | dB g/e/ | dBd | cAB/A/ | G/F/ G/A/ B/c/ | dB g/e/ | dBd | cAF | G2 ::[M:2/4] B>c | 
 dB g>e | dB GB | cA FA | ed B2 | dB g>e | dB GB | cA FA | G2 :|  