Proof (ideal property of compact operators)

Let $(w_n)_{n\in \N}$ be a bounded sequence in $W$. $(Bw_n)$ is a bounded sequence in $X$, so by compactness of $T$, $(TBw_n)$ has a convergent subsequence $(TBw_{n_k})_{k\in \N}$. Then $(ATBw_{n_k})_k$ is a convergent subsequence of $(ATBw_n)_{n}$.