Compose a piece using the alphabetic notation of the assigned musical structure and the provided melodic motif.
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
['F2 D2 F2 A2', 'g3 e d>cB>A']  
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
 A |"_as writ" d3 A>BA>G z | F2 D2 F2 A2 | d3 f e3 f | g>fe>d d>cB>A | d4 A>BA>G | F2 D2 F2 A2 | 
 d>fe>d a2 gf | e2 e>e e2 z :: e>f | g3 e d>cB>A | .f2 .d2 .f2 .d2 | g3 e d>cB>A | 
 .a2 .f2 .a2 .f2 | d3 f e3 f | d>cB>A a3 g | f>ef>g f2 e2 | d2 d>d d :|  