How should I do this question that is in the image below?33

enter image source here