If You create project MyDog in last posts, You see in tree structure controller animals.
Open file AnimalsController.php.
You see empty action methods.
In each method write code:
$this->view->title = 'Basic photo.';
But for each method write another title.
Remember save this file.
Then find layout file in structure of tree.
Double click on layout.phtml file.
In opened file write in title tag code:
<?php echo $this->title; ?>
Save file and run application.