2 wire is one pos, and one neg. Reverse the polarity to get the actuator to move in alternate directions.
5 wire can vary, but usually.
1 up, 1 down, ground, +12V (Not the same as Vcc)
The 5th pin can vary. In some systems it’s a feedback pin, some it’s a guide pin to prevent you from plugging it in the wrong way, some it’s an additional ground, and some it’s just a NC pin (No Connect). Most of the time it will be a feedback pin. Second it’s a ground. The auto down or up feature is usually aided by the 5th pin. In this case it’s a feedback pin but is usually controlled by an external module and not very much circuitary.
Two remotes will lock and unlock both actuators.
You can have feedback from your stock S13 system to provide to your aftermarket alarm and vice versa but it is not easy.
Lets just say I was 90% there with combining factory system with aftermarket alarm on Vlads S13 and then I ended up frying the Alarm system. Not one of my happier days, that’s for sure.