Per definition, a subset $A$ of a metric space $(X,d)$ is relatively compact if and only if its closure $\overline{A}$ is compact. That means that any sequence in $\overline{A}$ contains a subsequence that converges in $\overline{A}$. Does that imply that $\partial A$ is compact?
According to an alternative definition, $A$ is relatively compact if any sequence in $A$ contains a subsequence convergent in $X$. How do you derive from this that $\partial A$ is compact?
In other words, how can you show that both definitions are equivalent?