How do I take this out?

Looks like theres fresh carpet around that track. It may have been apart not too long ago. Penetrating oil, and scrub the studs threads with a wire brush to clean the junk off em.