Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:A
['e2 cAAA (3(cde) dc dBBc (3(def) ed', "A2 e2 ac'ba bgfe fgaf ecBA FAGB"  
X:1
L:1/8
M:4/4
K:A
 e2 | cAAA (3(cde) dc | dBBc (3(def) ed | cAAA a2 gf | ecBc A2 :: e2 | ac'ba bgfe | fgaf ecBA | 
 FAGB Aagf | ecBc A2 :|  