Assuming only one power outlet and you need a powered table, the table goes on the outlet's wall. Bed on opposite side with its back to the window so you face the door when you sleep. Closet can go on the door's wall, between the door and the outlet wall. You could put a dresser or something under the window. It kinda depends on the sizes of everything and the size/positioning of the door, but it should generally fit.
I'm personally in the process of buying an apartment with a bedroom of similar, maybe even smaller dimensions. I stopped by to take measurements. Since COVID they had to work from home, so they added a computer desk to their bedroom. The bed is against the wall, meaning one of them has to climb over the other, but there's evidently space for it. Flip the bed with the desk in their bedroom's picture, and remember your single bed is slimmer. Should be manageable and spacious enough.