Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['BADA dADA', 'dfaf bfaf'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 dA | BADA dADA | BADA defd | BADA dADA | defd efdA | BADA dADA | BADA defd | BADA dADA | 
 defd efdA || dfaf bfaf | dfaf gfef | dfaf bfaf | defd efdA | dfaf bfaf | dfaf g2 fg | afeg fdef | 
 dBAB defd ||  