Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:3/2
K:A
['a4 e2 fg agfe', '(3efe c2', '(e2 .a2) (cdec .a2)', 'efed cdec']  
X:1
L:1/8
M:3/2
K:A
|:{g} a4 e2 fg agfe | (3cdc A2 .a2 (A2 cdec) | a4 e2 fg agfe | d2 B2{g} .f2 (B2 d2 f2) :: 
 ABcd (3efe c2 (3efe c2 | ABcd (3efe c2 e2{g} a2 | ABcd (3efe c2 (3efe c2 | 
 Bcde{g} .f2 (B2 d2 f2) :: (e2 .a2) (cdec .a2) (c2 | e2 .a2) cdec d2 (3fgf | 
 (e2 .a2) (cdec .a2) c2 | Bcde{g} .f2 (B2 d2 f2) :: ABcd efed cdec | efed cdec e2{g} a2 | 
 ABcd efed cdec | Bcde{g} .f2 (B2 d2 f2) :|  