6. Fill in the blanks with 1 and 9 respectively, so that the vertical equation holds, where 9 is already filled in. There are
$\qquad$ kinds of different ways to fill it.



Translate the above text into English, please keep the original text's line breaks and format, and output the translation result directly.
$216$