In the 3-wire system, you have two hot and one neutral wire. The grounds and neutrals are connected to the sub-panel. Such a setting was applicable before 2008. Now, you need four wires where you have separate ground and neutral.