a) The elements on the main diagonal are 3, 4, and 6.
\[ tr(M) = 3 + 4 + 6 = 13 \]
b) $N = 2M = \begin{bmatrix} 6 & -2 & 4\\ 0 & 8 & 10 \\ -4 & 2 & 12 \end{bmatrix}$.
\[ tr(N) = 6 + 8 + 12 = 26 \]
c) Let $M$ be an $n \times n$ matrix.
\[ tr(kM) = \sum_{i=1}^n (kM)_{ii} = \sum_{i=1}^n k \cdot M_{ii} = k \sum_{i=1}^n M_{ii} = k \cdot tr(M) \]
d) The transpose of a matrix swaps elements across the main diagonal (i.e., it swaps $m_{ij}$ and $m_{ji}$). The elements on the main diagonal ($m_{ii}$) are not affected by this operation. Since the trace is the sum of only the diagonal elements, and these elements are unchanged, the trace remains the same.