Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/8
M:3/8
K:D
['A2 B =c2 d']  
X:1
L:1/8
M:3/8
K:D
 E | A2 B | =c2 d | B2 =c | A2 A | ^GAB | A2 B | =c2 d | BB=c | A2 ^G | A2 G | =F/E/DF | E/D/CC | 
 DE=F | G2 A | E2 =F/E/ | D2 |]  