Develop a musical composition that aligns with the given structural outline and thematic content.
X:1
L:1/8
M:2/2
K:D
['d>D (3DDD FDFA', 'd2 fd adfd'  
X:1
L:1/8
M:2/2
K:D
 d>D (3DDD FDFA | d2 ef gfge | d>D (3DDD FDFA | BEEF GABc | d>D (3DDD 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 ||  