Voir [LayoutS.Master] INTUT
When you are using @extends('layouts.master') means your view searches for the master layout under resources/views/layouts directory.
So make sure the master layout exist under the resources/views/layouts directory.
Ankur