This question is based on the equation above, where for all integers $y$, if $\gcd(9,y) = 3$, then $\gcd(9,y^2) =9$.
I know this statement is true as if you try to put whatever that is a multiple of 3 as $y$ and if the value matched with the first condition where the $\gcd$ is $3$, it'll match the second condition. For example, if $y = 3,6,12,15,18,21,24...$ they will all work for both conditions.
What I'm trying to know now is how do I put into words to explain how they actually work in pair? More specifically, I am trying to understand the logic behind how they work for each other.