There’s a flexible strategy that can help you figure out what to eat based on nutrition, what you enjoy and your health goals, exercise habits and life circumstances.