Compose melodious music utilizing the prescribed letter representation and integrating the given thematic element.
X:1
L:1/16
M:3/4
K:D
['(DEFG) A8 G4 ((F2A2) d4) F4 (E2A2)', 'A8 F4 G8 (G2AB) A8 d4 (cBA)', 'z12 (ABcd) (e4 c4) (ABc2) d8 F4', 'A4 F4 G8 (G2AB) A8 d4 (c2BA)']  
X:1
L:1/16
M:3/4
K:D
 (DEFG) | A8 G4 | ((F2A2) d4) F4 (E2A2) ^G4 | A8 || F4 | G8 (G2AB) | A8 d4 | (cBA) G F4 E4 | 
 D8 z12 || (ABcd) | (e4 c4) (ABc2) | d8 F4 | (E4 B4) C4 | ^G4 A4 || F4 | G8 (G2AB) | A8 d4 | 
 (c2BA) G2 F4 E4 | D16 |]  