How is a matrix question designed?

how is this done?

Welcome to the community, @miklamf! You could design a matrix question by following this support article Question Matrix Response Type.