Develop a musical composition based on the outlined framework and thematic material.
X:1
L:1/8
M:3/4
K:D
['AF DF Ad cB E2 E2 EF', 'Bd g2 f2'  
X:1
L:1/8
M:3/4
K:D
 AF DF Ad | cB E2 E2 | EF GA Bc | dA F2 F2 | AF DF Ad | cB E2 E2 | EF GA Bc | d2 d4 :| Ad f2 ed | 
 Bd g2 f2 | e2 cA Bc | dA (3FAF D2 | Ad f2 e2 | Bd g2 f2 | (3efe cA Bc | d2 d4 :|  