How to convert matrix into wide table

Hello,I have a problem about following picture:

If possible, I hope it can be processed using process variables, because there are actually many rows of data to be processed.Any help would be much appreciated.