Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:4/4
K:D
['', 'FE D2 dB', 'dcAe fgaf dcdA (3Bcd ef g2 ag'  
X:1
L:1/8
M:4/4
K:D
 FE |: D2 dB AGFE | DFdF A2 FE | D2 dB AGFD | GABG E2 FE | D2 dB AGFE | DF dF A2 Bc | dBcA BGAF |1 
 GABG E2 FE :|2 GABG E3 e || fgaf d3 e | fgaf dcAe | fgaf dcdA | (3Bcd ef g2 ag | fgaf d3 e | 
 fgaf g2 fg |1{a} gf (3gfe fdAF | GABG E3 e :|2{a} gf{a}fe faec | dBAF FGFE ||  