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:2/2
K:D
['dD D2 FDFA', 'd2 fd adfd']  
X:1
L:1/8
Q:1/8=180
M:2/2
K:D
 dD D2 FDFA | d2 ef gfge | dD D2 FDFA | BEEF GABc | dD D2 FDFA | d2 ef g2 fg | afge fdec | 
 BEEF GABc || d2 fd adfd | d2 ef g2 fe | d2 fd adfd | BEEF GABc | d2 fd adfd | d2 ef g2 fg | 
 afge fdec | BEEF GABc ||"^final" d8 |]  