Please see the site's homework policy, below:
Either way, could you please include what code you have worked out so far? A reprex is the best format for that.
If you've never heard of a reprex before, you might want to start by reading the tidyverse.org help page. The reprex dos and don'ts are also useful.