Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:2/4
K:G
['d>e dd d/^c/d/e/ dc/d/ ed cB A2', 'G4 A>B AA B/^A/B/c/ BB e>g fe'  
X:1
L:1/8
M:2/4
K:G
|: d>e dd | d/^c/d/e/ dc/d/ | ed cB | A2 A2 | B>^A Bc | d/^c/d/e/ dg | cB A>G | G4 :| A>B AA | 
 B/^A/B/c/ BB | e>g fe | e^d- d>e | f>a eg | fa ef/g/ | a>g fe | ed- de/f/ | g>a gf | e>f ed | 
 ed cB | A4 | B/^A/B/c/ bc | d/^c/d/e/ d>g | cB A>G | G4 ||  