InterviewBit

Can anyone help with this question?
I could not understand the diagonal powerfull matrix.
looking for the solution as well ,
thanks.

link - CodeDrift: Bit Manipulation - InterviewBit
Question no 1