AMC 10A 2020 Problem 5

What is the sum of all real numbers x for which

\left|x^{2}-12 x+34\right|=2 ?

Answer Choices
A. 12
B. 15
C. 18
D. 21
E. 25