Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:D
['fdec dBAG FDDF A2 Ag', 'ECCE G2', 'fe defg'  
X:1
L:1/8
M:4/4
K:D
 fdec dBAG | FDDF A2 Ag | fdec dBAF | ECCE G2 Gg | fdec dBAG | FDDF A2 Ag | fgec dBAF | 
 ECCE G2 Gc || Bc/d/ DB AFDc | Bc/d/ DF A2 Ac | BBc/d/ DB AFDF | ECCE G2 Gc | BFAG BFAG | 
 FDDF A2 Ac | BGAG BGcG |1 ECCE G2 Gc :|2 ECCE G2 GB || defg afdf | afdf g2 fe | defg afdf | 
 gece g2 fe | defg afdf | afdf g2 fe | defg abaf | gece g2 bg ||  