Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:6/8
K:D
['B2 A B2', 'A2 A'  
X:1
L:1/8
M:6/8
K:D
 uA | DED uE2 uF | vd2 vc uB2 uA | B2 A B2 d | e3 def | DED E2 F | d2 c B2 A | B2 A B2 c | 
 d3- d2 :: uA | vd2 vf ue2 ud | Bcd A2 F | A2 A g2 f | f3 eag | f2 a f2 d | Bcd AGF | A2 A B2 c | 
 d3- d2 :|  