In Elvish, the one comprised three
The first created, then marred
was to be fixed by the second to be
while the third, far from the worst
dealt with those who were not the first.
Ainulindale
The Ainulindalë is the title of the first part of The Silmarillion. It covers the creation myth. (Source: The Silmarillion)
Tolkien Gateway: Ainulindalë