Can you please check this for me?
You have done most of it correctly, except in writing the final answer. Since you have taken the trial solution to be
The general solution would be,
You have found out that, and for
(Note: You have written the term incorrectly)
Hope this will help you.