Mr. Weiner , who represents Brooklyn and Queens , won a seat on another key panel , Energy and Commerce , which helps set policy on Medicaid , telecommunications and other issues important to New York .