Develop a musical piece incorporating the designated alphabet-based pattern and the supplied melodic theme.
X:1
L:1/8
M:4/4
K:D
['', 'c dedB dA-AB dedB A3 d Bee^d', 'd2 fa']  
X:1
L:1/8
M:4/4
K:D
 c |: dedB dA-AB | dedB A3 d | Bee^d efgb | afed B2 A2 :: d2 fa d2 fa | dedB A3 d | Be-e^d efgb | 
 afed B3 c | d2 f/g/a d2 f/g/a | dedB ABdG | Bee^d efgb | afed B2 A z :|  