Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:6/8
K:A
['ecA |{b} agf', '', 'egb agf']  
X:1
L:1/8
M:6/8
K:A
|: F | EAc ecA | fef ecA |{b} agf fcA | BGB dcB | EAc ecA | fdf ecA |{b} agf ebg | a3 a2 :| c' |: 
 e'c'a eac' | bge egb | agf eaf |1 bge eac' | e'c'a eac' | bge egb | agf ebg | a3 a2 c' :|2 
 ecA GFE | A,CE Ace | fga efg | aga fbg | a3 a2 ||  