To add two complex numbers:
Group the real part of the complex numbers together and group the imaginary part of the complex numbers together and then add the like terms.
For example:
Let the first complex number is 5+2i
And the second complex number is 8+7i
To add both the complex numbers: (5+2i)+(8+7i)
Group the real parts together and imaginary parts together: (5+8)+(2i+7i)
Add the like terms: (13)+(9i)
Hence, (5+2i)+(8+7i)=(13+9i)