\begin{center}
\[
P=\left[
\begin{array}{c c c c c c c c c c c}
a & 0 & 0 & \dots & 0 & 0 & \dots & 0 \\
0 & & & & & & \\
0 & & & & & & \\
\vdots & & & & & & \\
0 & & & & & & \\
0 & & & & & & \\
\vdots & & & & & & \\
0 & & & & & &
\end{array}
\right]
\]
\end{center}
I want to write the matrix in the following way:
But I dont know how to write the given matrix in the given form.
I have given the code on how to write the matrix. I just have problem in writing the matrix Q as given in the picture.
Can someone please help me