Appears you have multiple, unique PREFIX= requirements for your transposed variables, therefore you must consider two PROC TRANSPOSE executions with a DATA step to MERGE the outputs together creating the columns you have listed.
Below is a link to one of several technical/conference papers found on the SAS support
http://support.sas.com/ website to consider.
Scott Barry
SBBWorks, Inc.
Changing the Shape of Your Data: PROC TRANSPOSE vs. Arrays
Bob Virgile, Robert Virgile Associates, Inc.
http://www2.sas.com/proceedings/sugi24/Begtutor/p60-24.pdf