Because the planet will appear brighter in the infrared spectrum than it would via a visible lens. You need to be able to block out the star in order to view the planet, therefore aim for 5 AU.
The sole technique that can directly photograph exoplanets orbiting far-off stars is direct imaging. The method produces tangible evidence and provides more information about the planet, including its orbit and atmosphere's makeup, to scientists.
The fact that dust is transparent to it when observed in the near-infrared is one of its benefits. Because of this, a star covered in dust would be invisible to an optical telescope, but its emission would be detectable by one that operates in the near-infrared.
Learn more about infrared spectrum here:
https://brainly.com/question/28738928
#SPJ4