Well I have 2 questions but they are labeled (i) and (ii) from the same question so I'll post them in a single thread. Please forgive me if I'm not supposed to that because I just joined today and I'm not too familar with this forum.

I don't understand how to type in latex so I will attach pictures.

These are the steps I used for part (i):

And for part (ii):

The answer key says x = 2 which I do not quite understand because there are two part questions, so I assume it is wrong. My exams are coming soon and I find that I often come across this kind of problem so any help would be much appreciated, thanks!