\[a = 7 - плацкартных;\]
\[b = 6 - купейных;\]
\[c = 1 - вагон\text{-}ресторан.\]
\[1)\ Комплектация\ вагонов:\]
\[N_{1} = (7 + 6 + 1)! = 14! = P_{14}.\]
\[2)\ Только\ по\ типу:\]
\[N_{2} = \frac{N_{1}}{P_{7} \bullet P_{6} \bullet P_{1}} = \frac{P_{14}}{P_{7} \bullet P_{6}}.\]
\[Ответ:\ \ \frac{P_{14}}{P_{7} \bullet P_{6}}.\]