Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:4/4
K:Dmin
['A2 AA', 'B2 BB'  
X:1
L:1/8
M:4/4
K:Dmin
 DEFG A2 AA | B2 BB A2 AA | G2 GG F2 GF | E2 E2 D4 :: d2 dd c2 cc | B2 BB A4 | FGAF B2 A2 | 
 G3 A F4 | FGAB G2 E2 | EFGA F2 D2 | DEFG A2 AA | B2 BB A2 AA | G2 GG F2 GF | ED E2 D4 :|  