Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:4/4
K:A
['A2 EA cAce', 'e2 ce']  
X:1
L:1/8
M:4/4
K:A
 A2 EA cAce | agaf eAce | dcde f2 df | bagf ecdB | A2 A/A/A cAce | aga(e e)Ace | defa ecdB | 
 c2 A2 A2 z2 | A2 EA cAce | aga(e e)Ace | dcde f2 df | bagf ecdB | A2 EA cAce | agaf eAce | 
 defa ecdB | c2 A2 A2 z2 || e2 ce agaf | e2 ce A2 z2 | dcde f2 df | bagf e2 e/e/e | e2 ce agaf | 
 e2 ce Aece | defa ecdB | c2 A2 A2 z2 | e2 ce agaf | ec c/c/c Acec | dcde f2 df | bagf e2 e/e/e | 
 e2 ce agaf | e2 ce PA2 PA2 | defa ecdB | c2 A2 A2 z2 ||  