Compose a musical work incorporating the given motif and adhering to the outlined alphabetical framework.
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
['ag f2 d4 ed c2 A4', 'd4 fg f2 a4 gf e2 g4']  
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
 ag | f2 d4 ed | c2 A4 dc | B2 G4 AG | F2 D4 ag | f2 d4 ed | c2 A4 Bc | B2 g2 e2 c2 | A2 d4 :: fg | 
 f2 a4 gf | e2 g4 fe | d2 f4 ed | c2 A4 Bc | d2 cd B2 cd | e2 de c2 gf | edcB AGFE | D2 d4 :|  