Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/16
M:3/8
K:G
['D2 G4 B2 d2>g2(fe) (ed)(dB)(ed) (dc)c2 D2', 'G4 d2 b2>g2dB (dc)c2 c2 a2>f2dc cB', 'g4 D2 (GD)(BD)(dB) (gd)(bg)(dB) (dc) A2A2 |{^A}', "(c'a)(af)(fd) bggddB Addffa"  
X:1
L:1/16
M:3/8
K:G
 D2 | G4 B2 | d2>g2(fe) | (ed)(dB)(ed) | (dc)c2 D2 | F4 A2 | c4 e2 | edcBcA | G4 :: d2 | b2>g2dB | 
 (dc)c2 c2 | a2>f2dc | cB B2d2 | g2gdgb | a2abc'a | gfedef | g4 :: D2 | (GD)(BD)(dB) | 
 (gd)(bg)(dB) | (dc) A2A2 |{^A} B2G2D2 | (GD)(BG)(dB) | gdbgdB | dcAdcA | G4 :: d2 | 
 (c'a)(af)(fd) | bggddB | Addffa | dggbbd' | (c'a)(af)(fd) | bggddB | Addffa | g4 :|  