You can tell a person that they might be doing something wrong and suggest how to change without being toxic. It's in the delivery. As an example:
In a recent match, we had a Pyke who, for whatever reason, used Death From Below as if it were part of a burst rotation. I told him "you're using your ult too early, it's an execute, you'll wanna save it."
I wasn't viewed as toxic, I received no punishment, and I even got Honored for staying cool.
But, the same example has another part that needs to be considered:
Even after I explained to the Pyke not to use Death From Below so quickly and frequently, he still did the exact same thing he had been doing since he hit Level 6. E in, stab with Q, and immediately ult. Didn't matter how much health the target had, that's how he went into every fight.
He said "yeah" "ik" when I explained how he was using his ult wrong, but he kept using it wrong.
And I was not going to tell him twice, so I just didn't say anything further. If he didn't want to learn? Fine. He's not gonna learn. I can't teach him if he doesn't want to learn.
We lost, and it sucked, but them's the 8r8ks.
TL;DR - you can explain what someone's doing wrong and how they could fix it without being toxic, but don't expect people to take your advice, or learn in that same match. Their actions are out of your control. You can offer them tips or advice, but in the end, you should focus on your own play.