You need the retail upgrade DVD version of OS X 10.6 Snow Leopard and not the gray restoration DVD.
If you want prepare the Mac for another user/sale, then you need to perform a clean install of macOS by first partitioning & formatting the whole physical drive before reinstalling macOS. Since the old computers utilize hard drives, you will want to make sure to overwrite the entire drive with zeroes to destroy any of your personal data on the hard drive, otherwise the next user could use a data recovery app to recover some of your data.
You have two options for securely destroying your data. You can enable Filevault and let the encryption process finish which will encrypt the data in your home user folder (Snow Leopard did not have full disk encryption so only the user folder was encrypted), or you can use Disk Utility to erase the drive by writing a single pass of zeroes to the whole drive (this would be found in the Options or Advanced, or Secure Erase button within Disk Utility -- I don't recall exactly since Apple removed this ability many years ago). Performing either option will cause your data to be destroyed (actually the Filevault option may still leave some small traces behind on parts of the drive that are unencrypted and used for temp & cache files).
Here is an article on how to properly prepare a drive for a clean install of macOS 10.6:
https://eshop.macsales.com/tech_center/formatting/Mac_Formatting_6-10_R3.pdf
Here is an Apple article on how to prepare a Mac for sale which includes some other things you should do before erasing the drive & reinstalling. Keep in mind this article is catering to more recent versions of macOS, but some of the steps may still apply. The steps to erase the drive within the Apple article can be used, but I always preferred the method in the OWC article. Since Apple no longer allows for a secure erase of a drive, you will need to adjust any instructions to look for the Options button within the partition or erase tab of Disk Utility so you can write zeroes to the drive as well.
What to do before you sell, give away, or trade in your Mac - Apple Support