6. There are 8 English letters $K, Z, A, I, G, A, K$, and $\mathrm{U}$, each written on 8 cards. Ask:
(1) How many ways are there to arrange these cards in a row?
(2) How many ways are there to arrange 7 of these cards in a row?
(1) $\frac{8!}{2!\times 2!}=10080$ ways.
(2) If the letter taken away is $K$ or $A$, then there are
$$
2 \times \frac{7!}{2!}=5040 \text { (ways); }
$$

If the letter taken away is $Z$, $I$, $G$, or $U$, then there are
$$
4 \times \frac{7!}{2!\times 2!}=5040 \text { (ways). }
$$

Therefore, there are $5040+5040=10080$ arrangements in total.