How to solve this particular part or the whole thing?