If you haven't lifted in a long time, I'd suggest the simple 5x5 barbell routine. It starts off very slow, allowing you to practice form on the main 5 core lifts (bench, squat, deadlift, barbell row, and overhead press). It's 3 days per week.
https://stronglifts.com/5x5/
With those core lifts, after you've mastered form to the best you can, you can move in to a PPL (push, pull, legs) routine and use those lifts as the foundation to your strength training. That's what I have done and a lot of other people do. Compound exercises work various muscle groups at the same time, engage the core (abs, obliques, lats) to support the main muscle focus of the exercise. Bench and overhead press would be your compound lift for push days, row for pull days (you can throw deadlift in here as well), and squat would be your compound lift for leg day (you can throw deadlift here also). Fill in your remaining hour or hour and a half at the gym with ancillary exercises (I do incline dumbbell press, dips, chest fly, a tricep exercise or two for push days).
I've built my own program to cater to my time commitment I have. However, my main lift for each day at the gym is a compound lift with the barbell. It's safer than machines in my opinion and you engage many muscle groups while hitting the target one hard.
If you want to cut, throw in some cardio a few days a week subsequent to your work out. Eat well.