These are not "modal verbs," but rather "phrasal verbs."
Modal verbs are verbs that change the "mood" of the sentence and can be any one of the following: can, could, may, might, must, should, shall, will, or would.
Phrasal verbs, however, are verbs combined with another word to create a new meaning and treated as one unit. When I say that they are treated as one unit, I mean that you should treat, for example, the phrasal verb "add up" as one verb. Don't think of the two words individually and what they mean individually, but rather think of them as they are together.
"Add up" has nothing to do with anything going "up," it simply means to determine the sum of a given object.
So, "Can you add up all the cards" is a polite request to "count all the cards" or "find the sum of all the cards."
In phrasal verbs, the placement of the noun (whether it goes inside or outside of the phrasal verb) doesn't matter UNLESS it is a pronoun:
I will use your second example to demonstrate:
"You can bring your friends along to the party." OR "You can bring along your friends to the party."
Both of these options are fine, but let's see what happens if you change "your friends" to a pronoun. Since it is plural, the pronoun will be "them."
"You can bring them along to the party." *correct*
"You can bring along them to the party." *incorrect*
If the object of the phrasal verb is a pronoun, then is MUST go inside the phrasal verb, that is, between the two words that create the phrasal verb.
Sorry for the long explanation, but I wanted to give as much detail as possible. If you have any other questions or are still confused, please let me know.