Generate musical tunes utilizing the specific pattern and the supplied motif.
X:1
L:1/8
Q:1/2=60
M:4/4
K:D
['d2 d>d']  
X:1
L:1/8
Q:1/2=60
M:4/4
K:D
"_Key given as G major" (3(ABc) | d2 d>d d2 (3(ede) | f2 f>f f2 (3(gfg) | a2 fd gfed | 
 e2 A>A A2 (3(ABc) | d2 d>d d2 (3(ede) | f2 f>f f2 (3(gfg) | a2 fd fedc | d2 d>d d2 ::  