To solve this problem, just use multiplication.
You can somewhat think of this situation as a sort of tree. You start with 7 large branches representing the pants, then for every one of those you have 3 medium-sized branches to represent the pairs of pants. Each one of those has 5 sticks for the ties, which in turn each have 6 leaves to represent the jackets and therefore a complete outfit. The solution is found by getting the total number of leaves on the tree.