Craft a musical piece that integrates the provided melodic theme and the corresponding alphabetical pattern.
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
['c Add ded cde f<ag fed cAG', 'def AGF EDE CAB cAG A/B/ce d2']  
X:1
L:1/8
Q:1/8=120
M:6/8
K:D
"^moderate" c | Add ded | cde f<ag | fed cAG | FDF GAG |"^5" FDg fed | cde a2 g | f>de cAG | 
 FDD D2 :| c |"^9" Add def | AGF EDE | CAB cAG | A/B/ce d2 D |"^13" D/E/FD D/E/FD | C/D/EC C/D/EC | 
 DAG FED | CA,A, A,2 A, |"^17" D/D/DE D/D/DE | C/C/CE C/C/CE | D/D/DB cAG | 
 A/B/c/d/e/f/ g/a/g/f/e |"^21" d/e/d/c/B c/d/c/B/A | GEc GEC | D/D/Dc AdE | EDD D3 |]  