If I make a substitution e.g. "let $x = 2y$", do I need to express all "$x$" terms as "$y$" or can I have both at the same time?
For example with $x^2+x+2=5$, can I express it as $x^2+2y+2=5$, or does it have to be $(2y)^2+2y+2=5$
Note: I'm not asking this for the purpose of solving this problem, but to understand mathematical form.
You don't have to, but you almost certainly want to. $x^2+2y+2=5$ is a valid substitution, but you now have two variables where you had one. This is unlikely to be progress.