Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:4/4
K:D
['f A>A A<f e>d e>f A>A B>A', 'd3 f a>f d<f e>d Bf a>f']  
X:1
L:1/8
M:4/4
K:D
 f | A>A A<f | e>d e>f | A>A B>A | d2 dB | A>A a<f | e>d e<f | A>A BA | d3 || f | a>f d<f | 
 e>d Bf | a>f ga | b2 g<b | a<f g<e | f<d e<a | A>A BA | d3 ||  