Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['', 'Ad ce d2 Ac d2 AG'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
 A2 |: Ad ce d2 Ac | d2 AG FD D2 | Be ^df e2 Bd | e2 BA GE E2 | Ad ce d2 Ac | d2 AG Fd fa | 
 gf ed cB AG | (3(FGA) EG FD D2 | FD DE F2 FE | Dd cd AF F2 | GE EF G2 GF | Ee ed cB AG | 
 FD DE F2 FE | Dd cd dA FD | EF GA Bc de | (3(fga) eg fd d2 :|  