Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:2/4
K:D
['D>EFG AA A2 B>cdB BA A2 GEFD']  
X:1
L:1/8
M:2/4
K:D
 D>EFG | AA A2 | B>cdB | BA A2 | GEFD | FCDD | GEFD | FC D2 |]  