TORNJEVI problem(2-SAT)

can someone help me in how to solve this 2-sat problem.
problem