Not the first but this second planet is the hottest, because its atmosphere causes a severe greenhouse effect
So, why is Venus so much hotter than Mercury, even though it's further away from 
... is trapped by the carbon dioxide, which creates a runaway greenhouse effect.