Answer :
I think you should list the values of n so we can better understand the question.
nxnx3=n(2)x3
if you do n times itself it can become less complicated n(2) then times 3 n(2)x3
if you do n times itself it can become less complicated n(2) then times 3 n(2)x3