I plan on using the high-level schematics found below to build this circuits using +5v Vdd. What parameters on the datasheet should I use to calculate the Gate resistor? Also, where can I find the formula for this calculation?

https://www.allaboutcircuits.com/textbook/digital/chpt-3/cmos-gate-circuitry/

Thanks!