Questions & Answers about W szafie przy łóżku trzymam ręczniki i pościel.
Because w means in here, and after w Polish uses the locative case when talking about location.
So:
- szafa = base form, wardrobe / closet / cabinet
- w szafie = in the wardrobe
This is one of the first big differences from English: Polish changes the noun ending depending on its role in the sentence.
Przy means by, next to, or near. It tells you that the wardrobe is located close to the bed.
Like w, the preposition przy also requires a specific case: the locative.
So:
- łóżko = bed
- przy łóżku = by / next to the bed
Because it is in the locative singular after przy.
The dictionary form is łóżko, but after przy it becomes łóżku.
This is just part of the noun’s declension pattern. In other words, you are not supposed to invent the ending from English logic; you learn that certain prepositions require certain cases, and then nouns change accordingly.