NAND gate LVS problems in Cadence Virtuoso
The NMOS FETs out of order.  In the schematic gate "b" is closer to ground but in the layout gate "a" is closer to ground.

The mismatched number of terminals indicates there may be some additional substrate (bulk) and nwell terminals assumed in the schematic devices.  If you query the FETs in the schematic, is there an entry for the well or bulk node?  There probably is, and it's probably for some default node names other than gnd! and vdd!. (I never use the three-terminal device symbols for this reason.)  You'll want to use a dedicated pin for supply and one for ground, as well, eventually, e.g. vdd and vss, rather than the global vdd! and vss!.  Global nets cause all sorts of headaches later (at least in big chips).

Good luck with it.