You don’t want a mixed equation with and . The substitution means that replace all instances of with something involving .

So if you make the substitution , then you will note that , so , and .

Then, the equation becomes , which simplifies to . If we now make another substitution, , then , so we have , which is linear.