How can I structure my data and which statistical test do need to use?

Even if I calculate the means per participant, I would still have two rows per participants - one for each category of the nominal variable. Or do I need to encode this into new variables?

If it's important: I will probably use SPSS for the analysis