Alternative approach:
Use Inclusion-Exclusion. See this article for an
introduction to Inclusion-Exclusion.
Then, see this answer for an explanation of and justification for the Inclusion-Exclusion formula.
Label the people in ascending order, by height, as $~P_1, ~P_2, ~\cdots, ~P_6.~$ This implies that $~P_i~$ is shorter than $~P_j~$ if and only if $~i < j.$
Following the syntax in the 2nd Inclusion-Exclusion link,
let $~S~$ denote the set of all possible ways of seating the $~6~$ people.
Let
$S_1~$ denote the subset of $~S,~$ where the person in the front row, left most seat is taller than the person in the back row, left most seat.
$S_2~$ denote the subset of $~S,~$ where the person in the front row, middle seat is taller than the person in the back row, middle seat.
$S_3~$ denote the subset of $~S,~$ where the person in the front row, right most seat is taller than the person in the back row, right most seat.
Then, the desired computation is
$$|~S~| - | ~S_1 \cup S_2 \cup S_3 ~|. \tag1 $$
Let
$T_0~$ denote $~| ~S ~|.$
$T_1~$ denote $~| ~S_1 ~| + | ~S_2 ~| + | ~S_3 ~|.$
$T_2~$ denote $~| ~S_1 \cap S_2 ~| + | ~S_1 \cap S_3 ~| + | ~S_2 \cap S_3 ~|.$
$T_3~$ denote $~| ~S_1 \cap S_2 \cap S_3 ~|.$
Then, in accordance with Inclusion-Exclusion theory, the computation in (1) above is equivalent to
$$[~T_0 + T_2 ~] - [~T_1 + T_3 ~]. \tag2 $$
$$T_0 = | ~S ~| = 6! = 720.$$
To compute $~| ~S_1 ~|,~$ consider that there are $~\displaystyle \binom{6}{2} = 15~$ ways for selecting the two people that will sit in the left most seats. Once this is determined, there is only one way of ordering those two people so that the taller person is in front.
Therefore, $~\displaystyle | ~S_1 ~| = 15 \times 4! = 360.$
By considerations of symmetry, $~| ~S_1 ~| = | ~S_2 ~| = | ~S_3 ~|.$
Therefore,
$$T_1 = 3 \times 360 = 1080. \tag2 $$
The analysis in this section will be very similar to the analysis in the previous section.
To compute $~| ~S_1 \cap ~S_2 ~|,~$ consider that there are $~\displaystyle \binom{6}{2} \times \binom{4}{2} = 90~$ ways for selecting the two people that will sit in the left most seats, and then selecting the two people that will sit in the middle seats. Once this is determined, there is only one way of ordering those four people so that in both the left most seats and the middle seats, the taller person is in front.
Therefore, $~\displaystyle | ~S_1 \cap ~S_2 ~| = 90 \times 2! = 180.$
By considerations of symmetry, $~| ~S_1 \cap S_2 ~| = | ~S_1 \cap S_3 ~| = | ~S_2 \cap S_3 ~|.$
Therefore,
$$T_2 = 3 \times 180 = 540.$$
Similar to the analysis in the previous section, to compute $~T_3 = | ~S_1 \cap S_2 \cap S_3 ~|,~$ consider that there are
$$T_3 = \binom{6}{2} \times \binom{4}{2} \times \binom{2}{2} = 90$$
ways of selecting and seating the people.
Therefore, the final computation is
$$[~T_0 + T_2 ~] - [~T_1 + T_3 ~] $$
$$= [~720 + 540 ~] - [ ~1080 + 90~] = 90.$$
6c2, do you mean $C^6_2$ ($C^6_2$)? – Dominique Aug 20 '24 at 07:24