In how many ways a set can be written?

Two or three.
I am confused please tell me correct.

I'd say it depends on the set. Do you have some further context?