Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:D
['AF F2', 'efdB AF F2', 'AF F2'  
X:1
L:1/8
M:4/4
K:D
|: AF F2 AFAB | defd efdB | AF D2 ABAF | EDEF E2 dB | AD D2 A2 AB | defd ecdB | AF F2 dBAF |1 
 EDEF D2 dB :|2 GFEG FD D2 || dfaf gfef | defd efdB | AF F2 ABAF | EDEF EGFA | dfaf gfef | 
 defd efdB | AF F2 dFAF | GFEG FDDA || dfaf gfef | defd efdB | AF F2 ABde | fdgf e2 fg | 
 afge fdec | dcBA BcdB | AF F2 dFAF | EDEF D4 ||  