Compose musical pieces based on the predetermined pattern and incorporating the given motif.
X:1
L:1/4
M:3/4
K:A
['A A', 'e f7/8g/8{ag} a'  
X:1
L:1/4
M:3/4
K:A
 a | A A B | c2 e | f/g/{ag} a{cd} c | B/A/ B{gag} a/>f/ | e A A/B/ | c e B/d/ |{cd} c A A | A2 :: 
{ag} a | f e{ag} a | f e{ag} a | f e a | f2 e | f7/8g/8{ag} a e | f7/8g/8{ag} a e | 
 f7/8g/8{ag} a a | a2 c |{de} d d c/B/ | c e e | f/g/{ag} a{cd} c | B/A/ B{gag} a/>f/ | e A A/B/ | 
 c e B/d/ | c A A | A2 |]  