Remove indent for first cell in CollectionView

There is a certain data model and a collectionView, you need to display the data as in the picture so that the first cell does not have indents, and the next ones have an indent on the left and right by 20, I tried it through the header, I show the first element in the header, then I have duplicated elements, and delete or not displaying the first element, it is impossible to do this, can I somehow set different indents for the cell? I'm using insetForSectionAt, but I don't know how to set it specifically for the first cell so that it occupies the entire width of the screen, what can be done about it