Thank you
Actually, I want to solve the equation in the handwritten image. I took it out of the complex form by changing the variable and made it the last line, and then I wrote the code that is in the next image, but I could not apply the variable change and the rest of the conditions in the next image from the beginning. Can you help me in this regard?