Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/16
Q:3/8=60
M:3/8
K:D
['(Ad) .f2.f2', 'd4 (fg) (af)(ba)(gf) g2e2 ef (ge)(ag)(fe) .f2.d2', 'd4 A2 (A2d2).c2 (B2e2).d2 (c2a2).g2 (g2f2) A2'  
X:1
L:1/16
Q:3/8=60
M:3/8
K:D
 (Ad) | .f2.f2 (Ad) | .f2.f2 ef | (gf)(ed)(cd) | e2A2 (Ad) | .f2.f2 (Ad) | .f2.f2 (ef) | 
 (gf).g.e(dc) | d4 || (fg) | (af)(ba)(gf) | g2e2 ef | (ge)(ag)(fe) | .f2.d2 (Ad) | .f2.f2 (df) | 
 .a2.a2 (AB) | (cd).e.f.g.a | d4 || A2 | (A2d2).c2 | (B2e2).d2 | (c2a2).g2 | (g2f2) A2 | A2(d2c2) | 
 B2(e2d2) | (dc)(ag)(fe) |{c} d4 |]  