A 32-year-old woman with newly diagnosed type 2 diabetes is reviewed in primary care. Her BMI is 34 kg per metre squared and HbA1c is 65 mmol per mol despite three months of lifestyle modification. Her renal function is normal and there are no contraindications. What is the most appropriate first-line pharmacological treatment