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:D
['A F>GA ABc B>AB G2 G FGA', 'afd faf']  
X:1
L:1/8
M:6/8
K:D
 A | F>GA ABc | B>AB G2 G | FGA AFD | f3 g3 | aAA ABc | BAG g2 f/g/ | agf edc | d3 f2 |] f/g/ | 
 afd faf | ece efg | afd faf | e3 g2 f/g/ | afd faf | ece efg | agf edc | d3 f2 |]  