Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:2/4
K:A
['defg a2 (gf) g2 (fe)', 'e2 fddf eddf edcB c2']  
X:1
L:1/8
M:2/4
K:A
 defg | a2 (gf) | g2 (fe) | a2 e2 :: fddf | eddf | edcB | c2 A2 :|  