Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
Q:1/2=80
M:4/4
K:G
['e2 c2', 'E2 A>Bc>d e2 c2 |1 (d>c)B>A A<A-Aa'  
X:1
L:1/8
Q:1/2=80
M:4/4
K:G
 A>Bc>d e2 c2 | d>cB>A B2 E2 | A>Bc>d e2 c2 |1 dcB>A A4 :|2 dcB>A A3 a |: g>fe>d e2 c2 | 
 d>cB>A B2 E2 | A>Bc>d e2 c2 |1 (d>c)B>A A<A-Aa :|2 (d<c)B>A A<A- A2 |]  