Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/16
M:2/4
K:D
['B2B2 ABAG F2FG'  
X:1
L:1/16
M:2/4
K:D
 de |"D" f2a2"A7" gfe2 |"D" d2B2 A2de |"D" f2a2"A7" gfe2 |"D" d4 d2de |"D" f2a2"A7" gfe2 | 
"D" d2B2 A2AB |"C" =c2cd cBA2 |"G" G4- G2 :: FG |"D" A2A2"G" B2B2 |"D" ABAG F2FG | 
"D" A2d2"A7" cdec |"D" d4 d2FG"D"A2A2"G" B2B2 |"D" ABAG F2FG |"A7" A2D2 F2E2 |"D" D4- D2 :|  