You spot a bag at school. How do you make it clear which bag you mean in Spanish?
You spot a schoolbag in the corridor and message a friend about it in Spanish. First you say there's a bag. Then you say who owns the bag. Why does the little word before schoolbag change?
You already know how to change these labels from one to more than one. Start with the feminine noun: mochila means schoolbag, and mochilas means schoolbags. Now look at the masculine noun: libro means book, and libros means books. Adding the plural s doesn't change the gender.
First you write una mochila, a schoolbag. Your friend doesn't know which bag you mean yet. Next you write la mochila, the schoolbag, because your friend can now tell which one you mean. Una is an indefinite article. La is a definite article.
You've written Hay una mochila, meaning there's a schoolbag. In your next sentence, you want to say that the very same bag belongs to Ana. Pick the phrase that means the schoolbag.
Now you spot a book beside the bag. You introduce it as un libro, a book. When you refer back to that same book, you write el libro, the book. You make the same choice between a and the, using un and el because libro is masculine and singular.
Libros is masculine plural. Hay unos libros means there are some books. Veo los libros means I see the books you just mentioned. Now try the feminine plural, llaves. Hay unas llaves means there are some keys. Veo las llaves means I see the keys you just mentioned.
Your message says Hay unos bolígrafos, meaning there are some pens. The next sentence is about those very pens. Bolígrafos is masculine and plural. Pick the phrase that refers back to them.
Una mochila and la mochila are both feminine and singular. Choose una if your reader can't tell which bag you mean, and la if they can. An earlier sentence can make that clear. In person, pointing at a bag can do the same job, even on the first mention.
A Junior Cycle writing task might ask you to write an email in Spanish to a friend. If you're describing what you found at school, start with Hay una mochila, there's a schoolbag. Then write La mochila es de Ana, the schoolbag belongs to Ana.