Consider the following reactions
$$
\begin{aligned}
& \mathrm{Na}_2 \mathrm{~B}_4 \mathrm{O}_7 \xrightarrow{\Delta} 2 \mathrm{X}+\mathrm{Y} \\
& \mathrm{CuSO}_4+\mathrm{Y} \xrightarrow{\text { Non-Luminous flame }} \mathrm{Z}+\mathrm{SO}_3 \\
& 2 \mathrm{Z}+2 \mathrm{X}+\text { Carbon } \xrightarrow{\text { Luminous fure }} 2 \mathrm{Q}+\mathrm{Na}_2 \mathrm{~B}_4 \mathrm{O}_7+\mathrm{CO}
\end{aligned}
$$
The oxidation states of Cu in Z and Q , respectively are :