Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/4
M:2/2
K:D
['f2 e B'  
X:1
L:1/4
M:2/2
K:D
"A" | f |"D" A3/2 A/ A B | d e"D7" f2 |"G" e d"Em" B d |"A7" f e f a |"D" A3/2 A/ A B | 
 d e"D7" f2 |"G" e d"Em" B G |"A7" A2 A |]"B" | z |"D" a3/2 a/ a b | a g f2 |"G" e d"Em" B d | 
"A7" f e f a |"D" a3/2 a/ a b | a g f2 |"G" e d"Em" B G |"A7" A2 A |]  