Maybe I'll answer in a difficult way if use Japanese, so I'll do in English.
I'll explain in your example.
If someone ask for your help, he should come to you and ask so humbly.
He should take some cakes or snacks,・・if it is proper, right ?
’~するのが筋’ means such a proper manner in our daily life.
筋 means ethical correctness. In other words, you can say 道理.