The lyric "When I'm feeling blue, all I have to do / Is take a look at you, then I'm not so blue" comes from "You" by The Carpenters, released in 1977 on their album Passage.
When I'm feeling blue, all I have to do
Is take a look at you, then I'm not so blue
This song is often mistakenly credited to other soft-rock acts of the era (Air Supply, Barry Manilow, England Dan & John Ford Coley) due to its melodic style and Karen Carpenter's unmistakable contralto. But it's definitively a Carpenters track — one of their later, underappreciated gems.