Impedance or pu impedance is a complex number having both terms X and R.
X/R = tan(theta) .. the impedance angle.
if for two equipment, say generator and transformer, having same X/R ratio, then both have the same impedance angle and you can simply add the pu impedance.
if X/R ratio is...