Use the Mayer-Vietoris sequence to show there are isomorphisms $\tilde H_n(X \vee Y) \approx \tilde{H}_n(X) \oplus \tilde H_n(Y)$ if the basepoints of $X$ and $Y$ that are identified in $X \vee Y$ are deformation retracts of neighborhoods $U \subset X$ and $V \subset Y$.
So for this one, I am thinking of writing $\tilde H_n(X \vee Y)$ in the form of $\tilde H_n((X \cup U) \cup (Y \cup V))$ in order to satisfy the Mayer-Vietoris sequence condition, that $X \vee Y$ is the union of interior of $X \cup U$ and $Y \cup V$. But I am not sure how to justify it?