Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['AD (3FED FAAc', 'd2 fd Adfd']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 AD (3FED FAAc | Bdeg fddB | AD (3FED FAAc | BGFG E2 D2 :| d2 fd Adfd | efge fdBc | d2 fd Adfd | 
 edcd B2 A2 | d2 fd Adfd | efge fdBg | fgeg fdec | dABG FAdB ||  