Nhi aarha not getting the operations being used in the soln too

unable to get the solution even understanding it is not easy have read its solution cant even get the operations which are used