Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
M:4/4
K:D
['D2 (DE) (FA)(Ad) B2 BddB'  
X:1
L:1/8
M:4/4
K:D
 A2 |"D" D2 (DE) (FA)(Ad) |"Bm" B2 (BA)"G" BddB |"D" A2 (AB)"Bm" d2 (df) |"D" (fe)(dB)"A7" AFEF | 
"D" D2 (DE) (FA)(Ad) |"Bm" B2 (BA)"G" BddB |"D" f2 (af)"Em" egfe |"G" dBAB"D" d2 :| (cd) | 
"A7" e2 (ef) edBA |"D" d2 (fg) fdBA |"Em" g2 (ga) gecA |"F#m" a2 (ab) f2"D" (ef) | 
"A7" g2 (ga) gecA |"D" a2 (ag) f2 (ef) |"G" g2 (ag)"D" f2 (ed) |"G" (BA)"A7"(AB)"D" d2 :|  