Compose a musical piece using the designated musical pattern's alphabetic representation and the assigned melodic theme.
X:1
L:1/8
M:4/4
K:D
['fd Td2 AF TF2', 'fdad bdad']  
X:1
L:1/8
M:4/4
K:D
 g | fd Td2 AF TF2 | Eeed e2 eg | fd Td2 AF TF2 | Dd-dc d2- d :: g | fdad bdad | Be-e^d e3 g | 
 fdad bdad | Addc d2 dg | fdad bdad | Be-e^d Te2 eg | fadf gbec | Ad-dc d2 d :|  