Reset Transistor: Soldering/Coding advice

How would you go about soldering this to the reset button on the arduino so that pin 24 can trigger a reset?

I wouldn't. Why do you want the Arduino to physically reset itself?