According to the question statement-
Formula x3 ∨ x4 should be considered 'alpha' in the algorithm and other diagram should be a ϕ. But in the solution, it is given vise.versa.

I am referring to the below algorithm-

is the solution in the exam paper correct?