The contrapositive is: “If an animal doesn’t live in the forest, then it isn’t a panther.”
The contrapositive of a proposition p => q is not q => not p. Let p = “an animal is a panther” and q = “an animal lives in the forest”. Then, the given conditional statement is of form p => q, and because of it, the contrapositive is: “If an animal doesn’t live in the forest, then it isn’t a panther.”