A 58-year-old man with newly diagnosed type 2 diabetes has an HbA1c of 68 mmol per mol despite 3 months of lifestyle change. His BMI is 32 kg per square metre and eGFR is 70 mL per minute per 1.73 m2. What is the most appropriate first-line pharmacological treatment?