The total reactance across a circuit with a resistance, an inductance and a capacitance in series is given by:
VRLC = VR + j(VL − VC) (from the definitions)
Now
|VR | = 12 V
|VL | = 15.5 V
|VC | = 10.5 V
Now VRLC = VR + j(VL - VC)
= 12 + j(15.5 - 10.5)
= 12 + 5j V
The magnitude of this voltage is:
|12 + 5j| = 13 V (from calculator)