I have been battling with this problem and I dont know how to prove the following:
Given a pair of topological spaces $(X,A)$, let $q : (X,A) \rightarrow (X/A,*)$ be a quotient map where * denotes $A/A$
show that $q$ induces, for every pointed space $(Y,y)$ a bijection: $$q^{*}:[(X/A,*),(Y,y)] \rightarrow [(X,A),(Y,y)].$$
Conclude that, for $n\ge 1$, there is a bijection $[(\mathbb{S^n},*),(Y,y)] \rightarrow [(\mathbb{I^n},\delta \mathbb{I}^n),(Y,y)]$, where $$\delta \mathbb{I}=\{(t_1,t_2,\cdots,t_n) \in \mathbb{I}^n| \,\,t_1\cdots t_n \cdot (1-t_1)\cdots(1-t_n)=0\}$$