For two sets
$$A = \left\{ x \left\lvert \, \frac { ( x - 2 ) ^ { 2 } } { x - 4 } \leq 0 \right. \right\} , \quad B = \left\{ x \mid x ^ { 2 } - 8 x + a \leq 0 \right\}$$
When $A \cup B = \{ x \mid x \leq 5 \}$, what is the value of the constant $a$? [3 points]\\
(1) 7\\
(2) 10\\
(3) 12\\
(4) 15\\
(5) 16