Many glues will loosen with a heat gun. That's where I would start. Be careful that you don't get the carpet so hot that it melts. With a little help from a putty knife, you should be able to get it up. I would not try solvents as the same solvents that work on the glue are liable to melt the carpet also. Henry