Construct a musical composition following the given alphabetical structure and incorporating the specified motif.
X:1
L:1/8
M:2/2
K:A
['(3AAA ABAF EFAc dcBA', 'A2 e2 cAeA fAeA cAeA fedc dBfB']  
X:1
L:1/8
M:2/2
K:A
 (ed) | c>A (3AAA ABAF | EFAc dcBA | d>B (3BBB BcBA | Bcde fefg | a>A (3AAA ABAF | EFAc dcBA | 
 Bcde fefa | (3AAA cB A2 || e2 | cAeA fAeA | cAeA fedc | dBfB bBfB | defg afed | (3cBA eA fAeA | 
 EFAc dcBA | Bcde fefa | (3AAA cB A2 |]  