Grill of the window is a nearby object for the lens, so the image would form away from the focal point of the lens. Now, to obtain the image of a distant tree, he needs to shift the lens towards the screen to have the focal point on the screen. Because the convex lens converges all the rays coming from a distant object to its focal point.
Hence, the correct answer is option 1.