Trim Parts Carpet Issue

You might be able to glue it down with 3-M Super spray adhesive. Mask everything off you don't want glue on, then spray a couple of coats on each surface, let it tack up, then stick it together. Might help to lay a heavy book or something on it for a few minutes until it dries.
Dallas