Show that if $A$ is contractible in $X$ then $H_n(X,A) \approx \tilde H_n(X) \oplus \tilde H_{n-1}(A)$
I know that $\tilde H_n(X \cup CA) \approx H_n(X \cup CA, CA) \approx H_n(X,A)$.
And $(X \cup CA)/X = SA$, where $SA$ is the suspension of $A$. So $H_n((X \cup CA)/X) = H_n(SA)$, where $SA$ is the suspension of $A$. But $SA \simeq A$, and homology is homotopic invariant, we have $H_n((X \cup CA)/X) = H_n(A)$.
I have seen this discussion in one of the post in mathstack but having no clue how to use this in the problem. The long exact sequence I can calculate but why $H_n(X \cup CA, CA) \approx H_n(X,A)$. And where suspension is used and how to split the long exact sequence in the direct sum?