Questions & Answers about Man reikia naujo kompiuterio ir geros knygos.
Why are naujo kompiuterio and geros knygos in the genitive case here?
In Lithuanian, reikia (from reikėti, meaning to need or to be needed) requires the thing that is needed to be in the genitive case (kilmininkas — the "of" case). Whenever a noun is in the genitive case, any adjective describing it must also be in the genitive case to match. That is why both the nouns (kompiuterio, knygos) and their adjectives (naujo, geros) take genitive singular endings.
How do the adjectives naujas and geras get the forms naujo and geros?
These are the genitive singular endings for the most common group of adjectives. Describing a masculine noun, an adjective ending in -as changes to -o: naujas (new) becomes naujo. Describing a feminine noun, the feminine form ending in -a changes to -os: gera (from geras, good) becomes geros. With a feminine -a noun like knyga, the adjective and the noun end up with the exact same -os ending (geros knygos).
Why does kompiuterio end in -io while naujo just ends in -o?