Let $A \in \mathbb C^{m\times m}$ and $B \in \mathbb C^{n\times n}$, and let $C=\begin{pmatrix} A & 0 \\ 0 & B\\ \end{pmatrix} \in \mathbb C^{(m+n)\times (m+n)}$.
Calculate the minimal polynomial of $C$ based on the minimal of $A$ and the minimal of $B$.
Prove that $C$ is diagonalizable if and only if $A$ and $B$ are.
The attempt at a solution
I have no idea how to prove 1). For 2) I got stuck in a lot of parts:
$\Leftarrow$ If $C$ is diagonalizable, then $C=P^{-1}DP$ where $D$ is a diagonal matrix. Somehow, I must construct from D two diagonal matrices $D_1 \in \mathbb C^{m\times m}$ and $D_2 \in \mathbb C^{n \times n}$ and two invertible matrices $Q$ and $S$ so that $A=Q^{-1}D_1Q$ and $B=S^{-1}D_2S$, I don't know how to construct all these matrices.
$\Rightarrow$ Suppose $A$ and $B$ are diagonalizable, so $A=Q^{-1}D_1Q$ and $B=S^{-1}D_2S$, with both $D_1$ and $D_2$ diagonal matrices. My guess is $C$ can be written as
$\pmatrix{Q^{-1}&0\\ 0&S^{-1}}\pmatrix{D_1&0\\ 0&D_2}\pmatrix{Q&0\\ 0&S}$.
Now, I would have to prove that $\pmatrix{Q^{-1}&0\\ 0&S^{-1}}\pmatrix{Q&0\\ 0&S}=Id_{m+n}$ and that $C=\pmatrix{Q^{-1}&0\\ 0&S^{-1}}\pmatrix{D_1&0\\ 0&D_2}\pmatrix{Q&0\\ 0&S}$ in order to show $C$ is diagonalizable.
I would appreciate help in all these points where I am stuck and any suggestion or hint with regard to 1.