Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:2/2
K:G
['fg afaf d2 fd ecec A2', 'BcdB AFAF'  
X:1
L:1/8
M:2/2
K:G
 fg | afaf d2 fd | ecec A2 (GF) | GABc defg | ecAc e2 fg | afaf d2 fd | ecec A2 GF | GBbg fdec | 
 d2 d2 d2 :| de | fdec B2 ga | b2 e2 e2 cd | ecdB A2 fg | a2 d2 d2 F2 | BcdB AFAF | BcdB AFAF | 
 GBbg | fdec | d2 d2 d2"^End" :|  