Because they refer to lettera, and lettera is feminine.
In Italian, adjectives and ordinal numbers usually agree with the noun they describe in gender and number.
So:
If the noun were masculine, you would use:
Here, prima and seconda are feminine singular to match lettera.
Because Italian can leave out a noun when it is already clear from the context.
The full idea is:
But repeating lettera is unnecessary, so Italian naturally says:
English does this too:
Because in Italian, expressions like the first letter and the second one normally use the definite article.
So:
This is very natural in Italian. The article helps mark the ordinal phrase clearly. English does the same here: the first, the second.
Yes, but the meaning changes slightly.
With Nella parola “amica”, the word amica is being mentioned as a word itself, not used normally in a sentence. That is why it is set off typographically.
If you write Nella parola amica without punctuation, it can feel less clear, because amica might look more like part of the sentence rather than an example word being discussed.
When talking about a word as a word, Italian often uses quotation marks or italics.
The given word order is natural, but Italian does allow some flexibility.
The sentence begins with Nella parola amica to set the topic first: we are talking about that word. Then it gives the two pieces of information about the letters.
You could also say something like:
That is also correct. The original version simply sounds very natural for introducing the word first and then commenting on it.