Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:3/4
K:D
['B2 B>A'  
X:1
L:1/8
M:3/4
K:D
 (3(ABd) |"D" F2 F>E F>A |"Bm" F2 F>E F>A |"G" B2 B>d"A" B>A |"D" F A3 d>c |"G" B2 B>d"A" B>A | 
"D" F3 E D>B |"Em" A3 F G>F |"A" E A3 (3(ABd) |"D" F2 F>E F>A |"Bm" F2 F>E F>A |"G" B2 B>d"A" B>A | 
"D" F A3 d>c |"G" B2 B>d"A" B>A |"D" F3 E D>B |"Em" A3 F"A" E>D |"D" D4 :: d>c |"G" B2 B>d"A" B>A | 
"D" F A3 d>c |"G" B2 B>c d>e |"Bm" f2 f>a (3(fed) |"G" B2 B>c d>B |"D" A F3 E>D |"Em" A3 F G>F | 
"A" E A3 (3(ABd) |"D" F2 F>E F>A |"Bm" F2 F>E F>A |"G" B2 B>d"A" B>A |"D" F A3 d>c | 
"G" B2 B>d"A" B>A |"D" F3 E D>B |"Em" A3 F"A" E>D |"D" D4 :|  