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
['e3 e2 ABd', 'b2 a2 fd effg |1 afef d2']  
X:1
L:1/8
M:4/4
K:D
 e3 e2 ABd | edfd edBd | e3 e2 ABd |1 edfe d4 :|2 edfe d2 b2 |: a2 fd effg | af e2 d2 b2 | 
 a2 fd effg |1 afef d2 b2 :|2 af e2 d4 ||  