Those plastic covers are left & right specific and can only be positioned one way on each side for the carpet to fit correctly over them. Once you fiddle around with it you'll be able to notice the proper position, wish I had a picture of mine to show you.
They originally were glued to the carpet but I don't think it's necessary. I've never re-glued mine after changing out the carpet.