What is the writer’s intention…

What is the writer’s intention in writing both texts?