I have a similar amount of space that I work out in. All my workouts focus on five major lifts. Squat, deadlift, bench, standing overhead press, and bent over barbell rows.
With that limited amount of space and those goals in mind I would just get a power rack, a nice barbell with some plates, adjustable bench, and maybe some adjustable dumbbells. Throw in a Ez bar, and a pull-up and dip attachment a little bit of basic know how of barbell and dumbbell lifts and there isn’t any muscle group you can’t workout with that setup.
https://a.co/d/ao1jPkv - I got this bench and have been really happy with it
https://a.co/d/9Z4D7ly - I got dumbbells similar to this but 5-50 lbs. I wish I would have gotten the 5-80 lb set. These are super convenient and if you can afford the price tag they’re great for a small area.