The order of the house is given to us, it is Blue, Green, Red and Yellow, now it is given that Paul stay in between Som and Krishna hence Paul cannot stay at corner houses i.e in the blue and Yellow hose, the same thing applied for Krishna as well. Now from given condition about their salaries we can complete the following table: