How does “kitāb” function in the two model sentences?

Demonstratives — forms, syntax and usage