Buyers are increasingly seeking a home with a study or second living space