Grouped line chart using averages

What code have you tried? You'll want to pivot_longer() then create your plot.

A reproducible example would be useful too: