Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:4/4
K:D
['d3 f', 'f a>b a<f d>e f<d |1 B<e']  
X:1
L:1/8
M:4/4
K:D
 F>G A<F B>c d<B | c>d e<c d3 f | g>ab>g a>fd>f |1 g>fe>d (3cBA (3GFE :|2 g<B c>A d3 f |: 
 a>b a<f d>e f<d | g>a b<g e3 f | a>b a<f d>e f<d |1 B<e g>f e3 f :|2 (3cBA (3gfe d3 z ||  