I've been into bodybuilding and fitness for 6 years. Let myself go after getting married for a few years and decided to change that.
You actually don't need to work out at all to lose weight. Its a very simple equation. Calculate your maintenance calories to maintain your current weight and subtract however amount of calories you need to from that to start losing weight. It's calories in vs calories out.
This calculator will tell you how many calories you need to eat to maintain your current weight, lose weight, or gain weight.
https://www.mayoclinic.org/healthy-lifestyle/weight-loss/in-depth/calorie-calculator/itt-20402304
Obviously exercise helps, but you honestly don't need it. Diet is by far the most important aspect of losing weight.