When I have an equation like:
$$f(x,y)\tag1$$
And I use a subsitution $y=6+a$ and $x=9-q$ I get the following equation:
$$f(9-q,6+a)\tag2$$
Question: how do I write that mathematically, to go from the first equation to the second?
I think that I should use (according to the given answer):
$$f(x,y)\space\space\space\Longleftrightarrow\space\space\space f(9-q,6+a)\tag3$$
Or is using the arrow wrong? The question is how do I write $(3)$.
The problem with your writing in (1) and (2) is that these expressions are not equations, as you claim. Using an equivalence would make sense in the following context:
If you insist to use an equivalence, which I would not recommend in this case, you could write:
but (3) as you write it does not make much sense. And once again, I would simply avoid any equivalence symbol in your case.