Room planning pls help

Guys how do I make it so my bed is in the middle of the wall, but have enough space to move a bit around at my desk, but also have enough space to have my nightstand on the side of my bed? My bed is a queen size, and my desk is the ikea malm thing with the retractable side thing. No bed in front of window though, and idk if the sizing in the photo is accurate, it’s just approximate from what I remember. The bed doesn’t have to be in the middle though, just away from the wall

Guys how do I make it so my bed is in the middle of the wall, but have enough space to move a bit around at my desk, but also have enough space to have my nightstand on the side of my bed? My bed is a queen size, and my desk is the ikea malm thing with the retractable side thing. No bed in front of window though, and idk if the sizing in the photo is accurate, it’s just approximate from what I remember. The bed doesn’t have to be in the middle though, just away from the wall