The Cape Cod–style home’s ample backyard provided room for expansion without losing the leafy ambiance.