A 35-year-old woman with a BMI of 40 and PCOS has been trying to conceive for 2 years.She has irregular cycles and anovulation.What is the most appropriate first step?