Connecting pins of Raspberry Pi GPIO in series in order to turn up the voltage
You cannot increase the voltage by connecting GPIO pins in series, as they all are referenced to a common ground.

To drive your relay you should do something like:







simulate this circuit &ndash; Schematic created using CircuitLab