Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
['F>G A>Fd>B', 'd>e f>df>d f>da>f g>fe>d c>BA>G F>Ad>A'  
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
 F>G | A>Fd>B A>Fd>A | B>cd>B A2 F>G | A>Fd>B A>Fd>B | A>FA>F E2 F>G | A>Fd>B A>Fd>A | 
 B>cd>B A2 d>e | f>da>d g>ed>c | d2 d2 d2 :: d>e | f>df>d f>da>f | g>fe>d c>BA>G | F>Ad>A A>df>d | 
 e>dc>d e2 d>e | f>df>d f>da>f | g>fe>d c>BA>G | F>Ad>A Ggec | d2 d2 d2 :|  