Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
Q:1/4=130
M:4/4
K:D
['(f/e/) d>BAF A2 A>B d2 ed/e/ feedBAF', 'd g fefg a2 gf ebba be'  
X:1
L:1/8
Q:1/4=130
M:4/4
K:D
"_VB" (f/e/) | d>BAF A2 A>B | d2 ed/e/ feedBAF A2 AB | d2{f} ed/e/ fd d || g | fefg a2 gf | 
 ebba be ef/e/ | dBAF A2 AB | df ed/e/ fd d |]  