Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
Q:1/8=120
M:6/8
K:C
['d c2 A ABA G2 E', 'c2 d e2 f']  
X:1
L:1/8
Q:1/8=120
M:6/8
K:C
"^A" d | c2 A ABA | G2 E G2 G | ABG A2 B | e3 e2 d | c2 A ABA | G2 E G3 | ABc d2 B | c3 c3 || 
"^B" c2 d e2 f | g2 a g3 | c2 d e2 f | g3- g3 | a2 f g2 e | f2 e d2 c | c2 B A2 G | f3 e2 ||  