Without models numbers we don't know what connections you have available.
For playback the VCR/DVD would connect with composite video plus audio cable.
For recording it depends on what output the xfinity box has and what inputs the VCR/DVD has. You may need some type of splitter and/or converter box to get them connected.