Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
['AB cB AG']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:A
|: AB | cB AG AB cd | e^d ef e2 AB | cB AG Ac ec | B2 E2 E2 AB | cB AG AB cd | e^d ef e2 cB | 
 AF BA GE ed | c2 A2 A2 cd | ec fe dB ed | c2 A2 A2 cd | ec fe ^dB ba | g2 e2 e2 cd | ec fe dB ed | 
 cA dc BG cB | AF BA GE ed | c2 A2 A2 :|  