I'm fairly new to this and while following a YouTube tutorial I've came across this problem of bad edgeflow as you can see here
I don't know how to work around it. I tried cutting with knife tool but it made it worse. I want these blue edges to completely follow through to the end. What's the problem here?