Develop a musical piece incorporating the designated alphabet-based pattern and the supplied melodic theme.
X:1
L:1/4
Q:1/4=90
M:4/4
K:D
['A A']  
X:1
L:1/4
Q:1/4=90
M:4/4
K:D
 (D/E/) F B A | A G F E/ E/ | (D/E/) F B ^A | B c ^A2 | d (c/B/) A G | F G A B | c d e d | c B A2 | 
 E F G A | B (A/G/) F E | A A A A | A (A/B/) A2 | d (c/B/) A G | F G A B | c d e d | F E D2 |]  