Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
Q:1/2=110
M:2/2
K:D
['f2 fd', 'ag f2 fd gfed cABc |1 defg']  
X:1
L:1/8
Q:1/2=110
M:2/2
K:D
 f2 fd f2 fd | f2 fd cd e2 | f2 fd gfed | cABc |1 d4 :|2 defg || a2 af b2 ba | gfge a2 ag | 
 f2 fd gfed | cABc |1 defg :|2 d4 |]  