Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:4/4
K:G
['DDD G2 B2 B2 AG A2 z3']  
X:1
L:1/8
M:4/4
K:G
 DDD | G2 B2 B2 AG | A2 z3 DDF | A2 c2 c2 BA | B4 z ddc | BcddedcB | c4 z ccB | ABccdcBA | 
 B4 z2 GA | B2 d2 A4 | G4 z |]  