Develop a musical piece by utilizing the alphabet-based notation of the selected musical form and the provided melodic idea.
X:1
L:1/8
M:4/4
K:D
['d AFEF D3', 'B2 AB', 'D3 F', 'd AFFA BGGB']  
X:1
L:1/8
M:4/4
K:D
 d | AFEF D3 d | AFED F3 d | AFEF D3 B | AFdF E3 d | AFEF D3 d | AFED F3 B | ABdA B<dAB | 
 F<AEF D3 || d | B2 AB AFdA | B2 AB F3 d | B2 AB AFdA | B2 AF E3 d | B2 AB AFdA | B2 AB F3 B | 
 ABdA B<dAB | F<AEF D3 || d | D3 F D3 F | DFEG FAFd | D3 F D3 B | AFdF E3 d | D3 F D3 F | 
 DFEG FAFd | BdAB ABFA | F<AEF D3 || d | AFFA BGGB | AFdA F3 d | AFFA BGGB | AFdF E3 d | 
 AFFA BGGB | AFdA F3 B | ABdA B<dAB | F<AEF D3 ||  