Answer
The logical connective $\leftrightarrow$, or "if and only if" evaluates to true if the propositions on each side of the connective have the same truth value. In the case of both $\neg p\leftrightarrow q$ and $p\leftrightarrow\neg q$, one variable would have to be false and the other would have to be true in order for the propositions on each side of the arrow to have the truth value. This means that the propositions evaluate to the same truth values for all values of $p$ and $q$, and so they are equivalent.
Work Step by Step
This question asked us for an explanation, so I included the full explanation in the answer section. Please see above.