If the equation \[ |x^2 - 6x + 8| = a \] \(\text{has four real solutions, then find the value of \( a \):}\)
If \( |x - 6| = |x^2 - 4x| - |x^2 - 5x + 6| \), \(\text{ where \( x \) is a real variable.}\)