Creating an anchor link to open an Accordion panel

Hi all

I have 1 page where at the top of the page I have menu items. These menu items, when click, jump down to that particular section on the page.

On my page I have an accordion with several panels. I would like to make it so the anchor links in the menu, when clicked, jump to that section on the page and open the panel.

Would anyone know how to do this please?

Thanks