You pay too much attention to "rules" about changing direct speech into indirect or reported speech. In sentence No. 1, someone has heard a woman/girl utter a recommendation to someone.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.