I have a question in terms of explaining the answer to the following question.

the question

The answer is as follows:

The answer

Could someone please explain where the α +β =1 came from and the α = 1 came from in the answer. I would appreciate an expert eye to look over it and see what I am missing. Thanks in advance.