So we have

first, me must expand the quantity so let's do that

So, we have

In complex numbers the real part must equate with the real part and the imaginary part must equate with the imaginary part in a complex number so c must equal 3 since it is the only real part of 3+4i.