Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:C
['FEFA B2', 'd2 fd'  
X:1
L:1/8
M:4/4
K:C
[M:4/4][K:D] Pa ude Gae TAD[Q:1/8=180].zD | FEFA B2 AB | d2 cd BE E2 | FEFA B2 Bc | dBAG FD :| FA | 
 d2 fd Adfe | d2 fA B2 AB | d2 fd Adfd | egfg ed B2 | d2 fd Adfd | Adfd eB B2 | g2 fg egfe | 
 dBAG FD D2 |]  